import { BaseImageNode, SerializedImageNode } from "./basie-image-node.js"; import { DOMConversionMap, EditorConfig, LexicalNode, NodeKey } from "lexical"; declare class BlockImageNode extends BaseImageNode { private static _decorate; static setDecorate(decorate: (node: BlockImageNode) => any): void; static getType(): string; private __loading; private __status; private __message; private __extra; get isLoading(): boolean; get status(): 'uploaded' | 'loading' | 'error'; get message(): string | null; get src(): string; get altText(): string; get maxWidth(): number; get width(): number | string; get height(): number | string; constructor(opt?: { accent?: string; altText: string; caption?: string; displayWidth?: number; height?: 'inherit' | number; key?: NodeKey; maxWidth: number; naturalHeight?: number; naturalWidth?: number; src: string; status?: 'uploaded' | 'loading' | 'error'; thumbhash?: string; width?: 'inherit' | number; }); isInline(): boolean; setMaxWidth(maxWidth: number): void; setWidth(width: number): void; setStatus(status: 'uploaded' | 'loading' | 'error'): void; setUploaded(url: string): void; setError(message: string): void; static clone(node: BlockImageNode): BlockImageNode; static importJSON(serializedNode: SerializedImageNode): BlockImageNode; static importDOM(): DOMConversionMap | null; decorate(): any; exportJSON(): SerializedImageNode; createDOM(config: EditorConfig): HTMLElement; } export { BlockImageNode };