import type { HydrationState } from "../router";
import type { FutureConfig } from "../dom/ssr/entry";
type ValidateShape<T, Shape> = T extends Shape ? Exclude<keyof T, keyof Shape> extends never ? T : never : never;
export declare function createServerHandoffString<T>(serverHandoff: {
    state?: ValidateShape<T, HydrationState>;
    criticalCss?: string;
    url: string;
    basename: string | undefined;
    future: FutureConfig;
    isSpaMode: boolean;
}): string;
export {};
