import { ICellEditorComp, ICellEditorParams } from '@ag-grid-community/core'; import { DatasourceOptions } from '@genesislcap/foundation-comms'; import { FoundationElement } from '@microsoft/fast-foundation'; /** * Parameters used to configure {@link SelectEditor} * @public */ export interface SelectEditorParams extends ICellEditorParams { allOptionsResourceName: string; valueField: string; async: boolean; labelField: string; values: any[]; datasourceOptions: DatasourceOptions[]; position?: (rowData: any) => string; allowCustomOptions: boolean; } /** * The AG Select Editor element. * @public * @tagname %%prefix%%-select-editor */ export declare class SelectEditor extends FoundationElement implements ICellEditorComp { params: SelectEditorParams; value: string; actualWidth: number; combobox: any; init(params: SelectEditorParams): void; getGui(): HTMLElement; refresh(params: SelectEditorParams): boolean; getValue(): string; isPopup(): boolean; afterGuiAttached(): void; changeHandler(event: any): void; isCancelBeforeStart(): boolean; } /** * The AG Select Renderer Styles. * @public */ export declare const agSelectEditorStyles: import("@microsoft/fast-element").ElementStyles; /** * Get a Design System prefixed Select template. * @param designSystem - The design system prefix to use. Defaults to 'foundation'. * @returns A Select component template prefixed with the correct design system. * @public */ export declare const getSelectEditorTemplate: (designSystem?: string) => import("@microsoft/fast-element").ViewTemplate; /** * * @public * @remarks * HTML Element: \ */ export declare const foundationSelectEditor: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{ baseName: string; styles: import("@microsoft/fast-element").ElementStyles; template: import("@microsoft/fast-element").ViewTemplate; }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{ baseName: string; styles: import("@microsoft/fast-element").ElementStyles; template: import("@microsoft/fast-element").ViewTemplate; }, typeof SelectEditor>; //# sourceMappingURL=select.editor.d.ts.map