import type { ApiClient } from '../services';
import type { EditorUiStoreInstance } from '../ui/editorUiStore';
export type BlockAutosaveOptions = {
    /** UI store instance for accessing block drafts */
    uiStore: EditorUiStoreInstance;
    /** API client for making save requests */
    apiClient: ApiClient;
    /** Site ID for the block mutations */
    siteId: string;
    /** Whether this entry has a route (pages have blocks, content entries don't) */
    hasRoute: boolean;
};
/**
 * Hook to handle block autosave for pages.
 * Watches for pending block changes and debounces saves to the server.
 *
 * Only enabled for pages (hasRoute=true), as content entries don't have blocks.
 */
export declare function useBlockAutosave({ uiStore, apiClient, siteId, hasRoute, }: BlockAutosaveOptions): import("./useSimpleAutosave").AutosaveHandle;
