import { Dispatch, SetStateAction } from "react";
export type StateDB<State, Selected> = [Selected, Dispatch<SetStateAction<State>>];
export declare function useDBRaw<State, Selected>({ initialState, getter, setter: setterRaw, selector, }: {
    initialState: State;
    getter: () => Promise<State | undefined>;
    setter: (val: State) => Promise<void> | void;
    selector: (state: State) => Selected;
}): StateDB<State, Selected>;
//# sourceMappingURL=useDBRaw.d.ts.map