import * as React from 'react'; import type { EditableContextValue, EditableProps } from './types.js'; export declare const EditableProvider: React.FC, useEditableContext: (consumerName: string) => EditableContextValue; /** * Root of a click-to-edit inline text field, owning the text and the preview/edit mode, rendering a `
` with `data-state="editing"|"preview"` and `data-empty` for your CSS to lay out. * * @example * ```tsx * * ``` */ export declare const Editable: { ({ value: valueProp, defaultValue, onValueChange, onValueCommit, onValueRevert, editing: editingProp, defaultEditing, onEditChange, placeholder, finalFocusEl, disabled, readOnly, required, invalid, maxLength, name, form, activationMode, submitMode, selectOnFocus, multiline, showControls, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ref: forwardedRef, ...props }: EditableProps): React.ReactNode; displayName: string; };