///
import type { ScreenReaderAlert } from '@msinternal/screen-reader-alert';
import type { ScreenReaderAlert as ScreenReaderAlertOld } from '@msinternal/sp-component-utilities';
import type { StringHelper } from '@msinternal/odsp-utilities-bundle';
export interface IIconPickerProps {
/**
* Callback triggered when user clicks the 'Save' button.
*/
onSelect: (iconName: string) => void;
/**
* Callback triggered when user clicks the 'Cancel' button.
*/
onCancel?: () => void;
/**
* Sets the HTMLElement to focus on when closing the Icon picker.
*/
elementToFocusOnDismiss?: HTMLElement;
/**
* A custom set of icons to show in the icon picker. These will override the default fabric icons that appear.
* The key is the icon display name and the value is the actual icon to render.
*/
customIconSet?: Map;
/**
* Additional icons to inject into icon picker. These will be appended to the default fabric icons that appear.
*/
_extendedIcons?: Map;
}
export interface IIconPickerState {
isOpen: boolean;
searchInput: string;
selectedIconName: string | undefined;
screenReaderAlert: typeof ScreenReaderAlert | typeof ScreenReaderAlertOld | undefined;
stringHelper: typeof StringHelper | undefined;
}
//# sourceMappingURL=IconPicker.types.d.ts.map