export type OmitFirstArg = F extends (x: any, ...args: infer P) => infer R ? (...args: P) => R : never;