import "./markdown.css"; import "./markdown_editor.css"; import type { Commit } from "./commit_mode"; /** `"document"` (default): a soft 16px sheet where the editor is the page's subject. `"field"`: a record * row — the control's corner and text inset. */ export type MarkdownSurface = "document" | "field"; export interface MarkdownEditorBase { /** Default "document" ({@link MarkdownSurface}). */ surface?: MarkdownSurface; /** Defaults on for `document`, off for `field`, where an arriving band would move everything under it. */ toolbar?: boolean; placeholder?: string; /** A larger floor in lines, never a height or smaller; a `field` never goes under the note floor. */ numberOfLines?: number; disabled?: boolean; autoFocus?: boolean; /** Needed wherever the visible label is a sibling (a `DetailRow`, a record row), not a wrapping * `FormField`. */ accessibilityLabel?: string; testID?: string; onFocus?: () => void; onBlur?: () => void; } export type MarkdownEditorProps = MarkdownEditorBase & Commit; /** WYSIWYG markdown: rich editing over a plain markdown string (engine in `@lotics/markdown-editor`). * **One element, always mounted**, so height never changes and prose stays selectable — at the cost of a * ProseMirror view per field. */ export declare function MarkdownEditor(props: MarkdownEditorProps): import("react").JSX.Element;