import { W as WindowManager } from './types-DdCtDHgt.cjs'; interface PersistStorage { getItem(key: string): string | null; setItem(key: string, value: string): void; removeItem(key: string): void; } interface PersistOptions { key?: string; storage?: PersistStorage; debounce?: number; autoRestore?: boolean; } interface PersistController { restore(): boolean; save(): void; clear(): void; destroy(): void; } declare function persist(wm: WindowManager, options?: PersistOptions): PersistController; export { type PersistController, type PersistOptions, type PersistStorage, persist };