import type { AnyEditor as Editor } from '../interfaces/editor'; export type WithEditorFirstArg any> = ( editor: Editor, ...args: Parameters ) => ReturnType;