export interface UseScrollRestorationOptions {
    /** Whether scroll restoration is active (a snapshot was consumed). */
    enabled: boolean;
    /** Target scroll offset in pixels from the top of the document. */
    scrollY: number;
    /** True when all data needed for scroll restoration has been loaded and rendered. */
    isReady: boolean;
}
export interface UseScrollRestorationResult {
    /** True while waiting for data to load before restoring scroll. */
    isRestoring: boolean;
}
/**
 * Restores window scroll position after data has loaded.
 * Fires once when `enabled` and `isReady` are both true, then disables itself.
 */
export declare function useScrollRestoration({ enabled, scrollY, isReady, }: UseScrollRestorationOptions): UseScrollRestorationResult;
