import type { WorkspacePlugin } from '@scalar/workspace-store/workspace-plugin';
/**
 * Plugin to persist workspace state changes with debounced writes.
 */
export declare const persistencePlugin: ({ debounceDelay, maxWait, prefix, }: {
    debounceDelay?: number;
    /** Maximum time in milliseconds to wait before forcing execution, even with continuous calls. */
    maxWait?: number;
    /**
     * Prefix to use for local storage keys.
     * This can be a string or a function returning a string.
     * For example, to persist data per document, use the document name as the prefix.
     */
    prefix?: string | (() => string);
}) => WorkspacePlugin;
//# sourceMappingURL=persistance-plugin.d.ts.map