import type { Component as SvelteComponent } from 'svelte';
export type SveltePageRenderOptions = {
    bodyContent?: string;
    headContent?: string;
};
export type HandleSveltePageRequest = {
    (PageComponent: SvelteComponent<Record<string, never>>, pagePath: string, indexPath: string): Promise<Response>;
    <P extends Record<string, unknown>>(PageComponent: SvelteComponent<P>, pagePath: string, indexPath: string, props: NoInfer<P>, options?: SveltePageRenderOptions): Promise<Response>;
};
export declare const handleSveltePageRequest: HandleSveltePageRequest;
export declare const invalidateSvelteSsrCache: () => void;
