import { Editor } from '../interfaces/editor'; export type OmitFirstArg = F extends (x: any, ...args: infer P) => infer R ? (...args: P) => R : never; export type OmitFirstArgWithSpecificGeneric = F extends (x: any, ...args: infer P) => infer R ? (...args: P) => R : never; export type WithEditorFirstArg any> = (editor: Editor, ...args: Parameters) => ReturnType; //# sourceMappingURL=types.d.ts.map