9 lines
497 B
TypeScript
9 lines
497 B
TypeScript
import type { RouteData, SSRResult } from '../../../@types/astro';
|
|
import type { AstroComponentFactory } from './index';
|
|
declare const needsHeadRenderingSymbol: unique symbol;
|
|
type NonAstroPageComponent = {
|
|
name: string;
|
|
[needsHeadRenderingSymbol]: boolean;
|
|
};
|
|
export declare function renderPage(result: SSRResult, componentFactory: AstroComponentFactory | NonAstroPageComponent, props: any, children: any, streaming: boolean, route?: RouteData | undefined): Promise<Response>;
|
|
export {};
|