export type Action<T> = {
    type: string;
    payload: T;
};
export type ActionCreator<T = unknown> = undefined extends T ? (payload?: T) => Action<T> : (payload: T) => Action<T>;
export declare function createAction<T = unknown>(type: string): ActionCreator<T>;
