import { AutocompleteProps } from '@mui/material'; import { ReactElement, ReactNode } from 'react'; /** * Interface to extend from for `options` when using `SettingsAutocomplete`. */ export interface SettingsAutocompleteOption { /** * Unique identifier for the option. */ id: string; /** * Optional value that is presented to the user for each option. If not set, * the `id` will be used instead. */ label?: string; /** * Optional description that will be rendered below the `label` to provide the * user with additional information about the option. */ description?: ReactNode; /** * When `true`, the option will be disabled. */ disabled?: boolean; } export interface SettingsAutocompleteProps extends Omit, 'renderInput'> { renderInput?: AutocompleteProps['renderInput']; } /** * Opinionated autocomplete component useful for providing users with a dropdown * for settings that require selecting one or more options from a list. * * **Note: This component is currently experimental and is likely to have significant breaking changes in the near future. Use with caution outside of the core Perses codebase.** */ export declare function SettingsAutocomplete({ options, renderInput, id, 'aria-labelledby': ariaLabelledby, ...otherProps }: SettingsAutocompleteProps): ReactElement; //# sourceMappingURL=SettingsAutocomplete.d.ts.map