import type { IPropertyPaneCustomFieldProps } from '../propertyPaneCustomField/IPropertyPaneCustomField'; /** * Interface for the language option. * @internal */ export interface ILanguageOption { /** * The key of the language option. */ key: string; /** * The text of the language option. */ text: string; } /** * Interface for the language dropdown component. * @internal */ export interface IPropertyPaneLanguageDropdownProps { /** * The selected key for the dropdown. */ selectedKey: string; /** * The enabled languages to display in the dropdown. */ enabledLanguages: ILanguageOption[]; /** * The all languages to display in the dropdown. */ allLanguages: ILanguageOption[]; /** * The page default language display name (e.g., "English"). */ pageDefaultLanguageName: string; /** * The function to call when the selected option changes. */ onChange?: (newValue?: string) => void; } /** * Interface for the internal properties of the language dropdown component. * @internal */ export interface IPropertyPaneLanguageDropdownInternalProps extends IPropertyPaneLanguageDropdownProps, IPropertyPaneCustomFieldProps { } //# sourceMappingURL=IPropertyPaneLanguageDropdown.d.ts.map