export interface DispatchOptions {
    isEffect?: boolean;
}
export interface Command {
    command: string;
    options: unknown;
    isEffect?: boolean;
}
export type GetStateFn = (path: string[]) => unknown;
export type ThunkFn = (dispatch: DispatchFn, getState: GetStateFn) => void;
export type DispatchFn = (commandOrThunkFn: Command | ThunkFn) => void;
export type UseCommanderHook = () => {
    dispatch: DispatchFn;
};
export declare const useCommander: UseCommanderHook;
