import { type IEditableLabelProps } from "../../EditableLabel/typings.js";
/**
 * Result returned by the text generation callback.
 * @internal
 */
export interface IUiInlineTextGeneratorResult {
    text: string;
}
/**
 * @internal
 */
export interface IUiInlineTextGeneratorProps extends Omit<IEditableLabelProps, "onSubmit" | "onCancel" | "onEditingStart"> {
    onSubmit: (value: string) => void;
    onCancel?: (value: string) => void;
    onEditingStart?: () => void;
    onGenerate: () => Promise<IUiInlineTextGeneratorResult>;
    onGenerateError?: (error: Error) => void;
    onUndo?: () => void;
    generateButtonLabel: string;
    undoButtonLabel: string;
    generatingLabel?: string;
    generateButtonDataTestId?: string;
    undoButtonDataTestId?: string;
    dataTestId?: string;
}
/**
 * @internal
 */
export declare const UiInlineTextGenerator: import("react").ForwardRefExoticComponent<IUiInlineTextGeneratorProps & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=UiInlineTextGenerator.d.ts.map