import { r as BatchAction, s as AllActions, u as IIIFStore } from "./index-DREe_9uf.js"; import { StoreApi } from "zustand/vanilla"; //#region src/vault/store/index.d.ts declare const reducers: (state: any, action: any) => any; type CreateStoreOptions = { enableDevtools?: boolean; iiifStoreName?: string; customReducers?: any; defaultState?: any; }; type VaultStoreState = StoreApi void; }> & { dispatch: (action: AllActions | BatchAction) => void; }; declare function createStore(options?: CreateStoreOptions): Omit & { dispatch: (a: AllActions | BatchAction) => AllActions | BatchAction; }>, "subscribe"> & { subscribe: { (listener: (selectedState: Omit & { dispatch: (a: AllActions | BatchAction) => AllActions | BatchAction; }, previousSelectedState: Omit & { dispatch: (a: AllActions | BatchAction) => AllActions | BatchAction; }) => void): () => void; (selector: (state: Omit & { dispatch: (a: AllActions | BatchAction) => AllActions | BatchAction; }) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: { equalityFn?: ((a: U, b: U) => boolean) | undefined; fireImmediately?: boolean | undefined; } | undefined): () => void; }; }, "setState"> & { setState(partial: (Omit & { dispatch: (a: AllActions | BatchAction) => AllActions | BatchAction; }) | Partial & { dispatch: (a: AllActions | BatchAction) => AllActions | BatchAction; }> | ((state: Omit & { dispatch: (a: AllActions | BatchAction) => AllActions | BatchAction; }) => (Omit & { dispatch: (a: AllActions | BatchAction) => AllActions | BatchAction; }) | Partial & { dispatch: (a: AllActions | BatchAction) => AllActions | BatchAction; }>), replace?: boolean | undefined, action?: A | undefined): void; }, keyof { dispatch: (a: A_1) => A_1; dispatchFromDevtools: true; }> & { dispatch: (a: AllActions | BatchAction) => AllActions | BatchAction; dispatchFromDevtools: true; }; type VaultZustandStore = ReturnType; //#endregion export { reducers as i, VaultZustandStore as n, createStore as r, VaultStoreState as t }; //# sourceMappingURL=index-BPTlnM4A.d.ts.map