import { ErrorMessage } from "./constants";
export declare const useErrorState: () => any;
export declare const useErrorDispatch: () => {
    setError: (error: ErrorMessage) => import("typesafe-actions").PayloadAction<"ERROR_SET", ErrorMessage>;
    clearError: () => import("typesafe-actions").EmptyAction<"ERROR_CLEAR">;
};
