import type { InlineEditBaseProps } from "./types.js";
/** Props for {@link InlineEditText}. */
export interface InlineEditTextProps extends InlineEditBaseProps {
    /** Current field value. */
    readonly value: string;
    /** Called with the new value when the user confirms the edit. */
    readonly onSave: (newValue: string) => Promise<boolean>;
    /** Placeholder shown when value is empty (in both read and edit mode). */
    readonly placeholder?: string;
    /** Optional client-side validation. Return an error string to block save. */
    readonly validate?: (value: string) => string | null;
    /** Render as heading text (larger, bolder). */
    readonly variant?: "default" | "heading";
}
/**
 * Click-to-edit single-line text field.
 *
 * Displays the value as styled text. On click, transitions to an input
 * with inline confirm/cancel controls. Confirm triggers `onSave`;
 * cancel reverts. Escape key also cancels.
 */
export declare function InlineEditText({ value, onSave, placeholder, validate, variant, disabled, isSaving, error, className, }: InlineEditTextProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=InlineEditText.d.ts.map