import type { CookieStoreLike } from './session';
type PreviewKeepAliveLogger = {
    debug?: (message: string, meta?: Record<string, unknown>) => void;
    warn?: (message: string, meta?: Record<string, unknown>) => void;
    error?: (message: string, meta?: Record<string, unknown>) => void;
};
type CreatePreviewKeepAliveRouteHandlerOptions = {
    maxAge?: number;
    refreshThresholdSeconds?: number;
    logger?: PreviewKeepAliveLogger;
    supabaseUrl?: string;
    supabaseAnonKey?: string;
    getCookies?: () => Promise<CookieStoreLike>;
    fetcher?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
};
export declare function createPreviewKeepAliveRouteHandler(options?: CreatePreviewKeepAliveRouteHandlerOptions): (request: Request) => Promise<Response>;
export {};
