import type { Extension } from '@prezly/slate-commons'; import type { AttachmentNode } from '@prezly/slate-types'; import type { SlateEditor } from '@udecode/plate-common'; export interface Parameters { onEdited?: (editor: SlateEditor, updated: AttachmentNode) => void; onRemoved?: (editor: SlateEditor, element: AttachmentNode) => void; } export declare const EXTENSION_ID = "FileAttachmentExtension"; export declare const FileAttachmentExtension: ({ onEdited, onRemoved, }: Parameters) => Extension;