import type { i18n } from 'i18next'; import type { SanitizedConfig } from 'mzinga/config'; import type { Field } from 'mzinga/types'; import type { Editor } from 'slate'; export declare const unwrapLink: (editor: Editor) => void; export declare const wrapLink: (editor: Editor) => void; export declare const withLinks: (incomingEditor: Editor) => Editor; /** * This function is run to enrich the basefields which every link has with potential, custom user-added fields. */ export declare function transformExtraFields(customFieldSchema: ((args: { config: SanitizedConfig; defaultFields: Field[]; i18n: i18n; }) => Field[]) | Field[], config: SanitizedConfig, i18n: i18n): Field[]; //# sourceMappingURL=utilities.d.ts.map