import type { StorageChange } from '../@types/storage'; /** An adapter waiting for DOM storage events about the area it wraps. */ export interface StorageEventRoute { storage: globalThis.Storage; fire(changes: { [key: string]: StorageChange; }): void; } /** Starts routing DOM storage events to `route`. Every adapter shares one subscription on the global object. */ export declare function addRoute(route: StorageEventRoute): void; /** Stops routing to `route`, releasing the shared subscription with the last one. */ export declare function removeRoute(route: StorageEventRoute): void; //# sourceMappingURL=storage-event-router.d.ts.map