///
import { SelectOptionProps, SelectProps } from '@patternfly/react-core/dist/esm/components/Select';
import { MenuToggleProps } from '@patternfly/react-core/dist/esm/components/MenuToggle';
export interface SimpleSelectOption extends Omit {
/** Content of the select option. */
content: React.ReactNode;
/** Value of the select option. */
value: string | number;
}
export interface SimpleSelectProps extends Omit {
/** @hide Forwarded ref */
innerRef?: React.Ref;
/** Initial options of the select. */
initialOptions?: SimpleSelectOption[];
/** Callback triggered on selection. */
onSelect?: (_event: React.MouseEvent, selection: SimpleSelectOption['value']) => void;
/** Callback triggered when the select opens or closes. */
onToggle?: (nextIsOpen: boolean) => void;
/** Flag indicating the select should be disabled. */
isDisabled?: boolean;
/** Content of the toggle. Defaults to the selected option. */
toggleContent?: React.ReactNode;
/** Placeholder text for the select input. */
placeholder?: string;
/** Width of the toggle. */
toggleWidth?: string;
/** Additional props passed to the toggle. */
toggleProps?: MenuToggleProps;
}
export declare const SimpleSelect: import("react").ForwardRefExoticComponent>;
//# sourceMappingURL=SimpleSelect.d.ts.map