type UseActions = ({ actions, dispatch }: {
    actions: {
        [key: string]: <T>(payload: T) => {
            type: string;
            payload: T;
        };
    };
    dispatch: <T>({ type, payload }: {
        type: string;
        payload: T;
    }) => void;
}) => {
    [key in keyof typeof actions]: <T>(payload?: T) => void;
};
export declare const useActions: UseActions;
export {};
