import { type ReactNode } from "react"; import { type ParameterValue } from "@gooddata/sdk-model"; import { type IDropdownBodyRenderProps } from "../Dropdown/Dropdown.js"; /** * @internal */ export interface IParameterControlDropdownProps { name: string; draft: string; onDraftChange: (draft: string) => void; inputType: "text" | "number"; min?: number; max?: number; inputId?: string; ariaAttributes?: IDropdownBodyRenderProps["ariaAttributes"]; errorMessage?: ReactNode; previewValue?: ParameterValue; onReset?: () => void; /** * Commits the draft. Without this callback, the footer shows only Close. */ onApply?: () => void; onClose: () => void; } /** * Presentational dropdown shared by the parameter control variants; variants own the draft state, * parsing, and validation. * * @internal */ export declare function ParameterControlDropdown({ name, draft, onDraftChange, inputType, min, max, inputId: inputIdProp, ariaAttributes, errorMessage, previewValue, onReset, onApply, onClose, }: IParameterControlDropdownProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ParameterControlDropdown.d.ts.map