2024-01-29 09:26:07 +08:00

16 lines
395 B
TypeScript

import { App } from 'vue';
interface CssrSsrContext {
styles: string[];
ids: Set<string>;
}
declare function ssrAdapter(id: string, style: string): void;
export declare function useSsrAdapter(): {
adapter: typeof ssrAdapter;
context: CssrSsrContext;
} | undefined;
interface SsrHandle {
collect: () => string;
}
export declare function setup(app: App): SsrHandle;
export {};