import { DirectiveChipProps } from "./nodes/DirectiveNode.js"; import { DirectivePluginProps } from "./plugins/DirectivePlugin.js"; import { ComponentPropsWithoutRef, FC, ReactNode } from "react"; import { Unstable_DirectiveFormatter } from "@assistant-ui/core"; //#region src/LexicalComposerInput.d.ts export type LexicalComposerInputProps = Omit, "autoFocus" | "children"> & { /** Controls how Enter submits. @default "enter" */ submitMode?: "enter" | "ctrlEnter" | "none" | undefined; /** Whether Escape cancels editing. @default true */ cancelOnEscape?: boolean | undefined; /** Placeholder text shown when the editor is empty. */ placeholder?: string | undefined; /** Focus the editor on mount. @default false */ autoFocus?: boolean | undefined; /** Props forwarded to the DirectivePlugin. */ directivePluginProps?: DirectivePluginProps | undefined; /** Custom component for rendering directive chips inline. */ directiveChip?: FC | undefined; /** Custom formatter for serializing/parsing directives. */ formatter?: Unstable_DirectiveFormatter | undefined; /** Custom Lexical plugins rendered inside the composer context, after the built-in plugins. */ children?: ReactNode | undefined; }; /** Lexical-based composer input with inline directive chips and runtime sync. */ export declare const LexicalComposerInput: import("react").ForwardRefExoticComponent, HTMLDivElement>, "ref">, "autoFocus" | "children"> & { /** Controls how Enter submits. @default "enter" */ submitMode?: "enter" | "ctrlEnter" | "none" | undefined; /** Whether Escape cancels editing. @default true */ cancelOnEscape?: boolean | undefined; /** Placeholder text shown when the editor is empty. */ placeholder?: string | undefined; /** Focus the editor on mount. @default false */ autoFocus?: boolean | undefined; /** Props forwarded to the DirectivePlugin. */ directivePluginProps?: DirectivePluginProps | undefined; /** Custom component for rendering directive chips inline. */ directiveChip?: FC | undefined; /** Custom formatter for serializing/parsing directives. */ formatter?: Unstable_DirectiveFormatter | undefined; /** Custom Lexical plugins rendered inside the composer context, after the built-in plugins. */ children?: ReactNode | undefined; } & import("react").RefAttributes>; //#endregion //# sourceMappingURL=LexicalComposerInput.d.ts.map