UNPKG

vite-plugin-react-server

Version:
22 lines 658 B
export interface ResolveStreamElementsOptions { route: string; moduleRootPath: string; moduleBasePath?: string; pagePath?: string; propsPath?: string; rootPath?: string; htmlPath?: string; moduleBaseURL: string; verbose?: boolean; logger?: any; id: string; } export type ResolveStreamElementsResult = { type: "client"; elements: any; } | { type: "server"; elements: any; }; export type ResolveStreamElementsFn = <Opt extends ResolveStreamElementsOptions = ResolveStreamElementsOptions>(options: Opt) => Promise<ResolveStreamElementsResult>; //# sourceMappingURL=resolveStreamElements.types.d.ts.map