import * as react_jsx_runtime from 'react/jsx-runtime'; import * as React from 'react'; import { Input } from './input.js'; interface InlineEditShellProps { children: React.ReactNode; className?: string; } declare function InlineEditShell({ children, className }: InlineEditShellProps): react_jsx_runtime.JSX.Element; declare function InlineEditActions({ label, onSave, onCancel, }: { label: string; onSave: () => void; onCancel: () => void; }): react_jsx_runtime.JSX.Element; interface InlineInputEditProps extends Omit, "value" | "defaultValue" | "onChange" | "onBlur"> { value: string; label: string; onCommit: (value: string) => void; emptyLabel?: string; displayClassName?: string; shellClassName?: string; } /** * Compact text editing for a value shown in place. Enter saves and Escape * cancels. Use a regular Field when the value needs help text or validation. */ declare function InlineInputEdit({ value, label, onCommit, emptyLabel, displayClassName, shellClassName, disabled, readOnly, className, onKeyDown, ...inputProps }: InlineInputEditProps): react_jsx_runtime.JSX.Element; interface InlineSelectEditOption { value: string; label: string; } interface InlineSelectEditProps { value: string; label: string; options: readonly InlineSelectEditOption[]; onCommit: (value: string) => void; emptyLabel?: string; disabled?: boolean; readOnly?: boolean; className?: string; triggerClassName?: string; } /** * Compact enumerated editing for detail rows and table cells. Selection stays * a draft until the user confirms it. */ declare function InlineSelectEdit({ value, label, options, onCommit, emptyLabel, disabled, readOnly, className, triggerClassName, }: InlineSelectEditProps): react_jsx_runtime.JSX.Element; export { InlineEditActions, InlineEditShell, InlineInputEdit, type InlineInputEditProps, InlineSelectEdit, type InlineSelectEditOption, type InlineSelectEditProps };