export interface ArchbaseStore { setValue: (key: string, value: any) => void; getValue: (key: string) => any; existsValue: (key: string) => boolean; clearValue: (key: string) => void; clearAllValues: () => void; reset: () => void; values: Map; } export interface ArchbaseState { } export type ArchbaseReducerAction = { type: string; payload: Partial; info?: string; }; export type ArchbaseReducer> = (state: S, action: A) => S; export declare function useArchbaseReducer>(key: string, store: ArchbaseStore, initialState: S, customReducer: ArchbaseReducer): { dispatch: (action: A) => void; state: S; };