export declare type FirstArg = T extends (payload: infer U) => any ? U : never;