import { IEditorPluginConstructor } from "../../../types/kernel.js"; import "../../../types/index.js"; import { FileNode } from "../node/FileNode.js"; import { LexicalEditor } from "lexical"; interface FilePluginOptions { decorator?: (node: FileNode, editor: LexicalEditor) => any; handleUpload?: (file: File) => Promise<{ url: string; }>; markdownWriter?: (file: FileNode) => string; theme?: { file?: string; }; } declare const FilePlugin: IEditorPluginConstructor; export { FilePlugin, FilePluginOptions };