import type { ReactNode } from "react"; import type { InkTheme } from "../render/ink-theme.js"; import type { ComposerFrame } from "./composer-frame.js"; import type { EditorState } from "./editor-model.js"; import { type EditorSpan } from "./editor-view.js"; export interface ComposerProps { readonly ink: InkTheme; readonly frame: ComposerFrame; readonly state: EditorState; readonly scrollTop?: number | undefined; readonly onScrollTop?: ((top: number) => void) | undefined; readonly accentSpans?: readonly EditorSpan[] | undefined; } export declare function Composer(props: ComposerProps): ReactNode;