import type { PreviewAuthFetch, PreviewAuthFailureSource } from '../previewAuthStore';
export type PreviewFailureSource = PreviewAuthFailureSource;
type UsePreviewKeepAliveParams = {
    enabled: boolean;
    fetcher: PreviewAuthFetch;
    onExpired: (source: PreviewFailureSource) => void;
    intervalMs?: number;
};
export declare function usePreviewKeepAlive({ enabled, fetcher, onExpired, intervalMs }: UsePreviewKeepAliveParams): void;
export {};
