type Listener = (state: T, prevState: T) => void; /** * Minimal reactive store with batched notifications. * * Identical pattern to the sibling uploader / asset-picker libraries: * synchronous `setState`, pub-sub `subscribe`, re-entrancy-safe via a * pending-state buffer so listeners can call `setState` during notification. */ export declare class Store { private state; private listeners; private _notifying; private _pendingState; constructor(initialState: T); getState(): T; setState(partial: Partial): void; subscribe(listener: Listener): () => void; destroy(): void; } export {}; //# sourceMappingURL=store.d.ts.map