import { type IStringParameterConstraints } from "@gooddata/sdk-model";
import { type IDropdownBodyRenderProps } from "../Dropdown/Dropdown.js";
/**
 * @internal
 */
export interface IStringParameterControlDropdownProps {
    name: string;
    value: string;
    /**
     * Workspace-default snapshot used by the Reset link. Reset is hidden when this is
     * `undefined` or equals the current (valid) draft value. Reset writes this value into the
     * draft input only; the user must click Apply to commit.
     */
    resetValue?: string;
    constraints?: IStringParameterConstraints;
    inputId?: string;
    ariaAttributes?: IDropdownBodyRenderProps["ariaAttributes"];
    onApply: (value: string) => void;
    onCancel: () => void;
}
/**
 * Dropdown panel for editing a string parameter value as free text. Owns the draft, inline
 * length validation, preview, and (mode-aware) Reset via `resetValue`.
 *
 * @internal
 */
export declare function StringParameterControlDropdown({ name, value, resetValue, constraints, inputId, ariaAttributes, onApply, onCancel }: IStringParameterControlDropdownProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=StringParameterControlDropdown.d.ts.map