import type { ViewerAction, ViewerState } from "../types"; export type StoreListener = (state: ViewerState, previous: ViewerState) => void; export declare class ViewerStore { private state; private listeners; constructor(initialState: ViewerState); getState(): ViewerState; dispatch(action: ViewerAction): void; subscribe(listener: StoreListener): () => void; } //# sourceMappingURL=store.d.ts.map