kjelsrud.dev/node_modules/astro/dist/runtime/server/render/page.d.ts
2023-07-19 21:31:30 +02:00

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 {};