/// <reference types="react" />
import { type LexicalCommand } from 'lexical';
type AttachmentPayload = Readonly<{
    filename: string;
    url: string;
}>;
/**
 * A command to insert an attachment. The argument is an {@link AttachmentPayload}.
 */
export declare const INSERT_ATTACHMENT_COMMAND: LexicalCommand<AttachmentPayload>;
/**
 * A Lexical plugin to register the INSERT_ATTACHMENT_COMMAND
 */
export declare const AttachmentPlugin: () => JSX.Element | null;
export {};
