import { ICellRendererComp, ICellRendererParams } from '@ag-grid-community/core'; import { FoundationElement } from '@microsoft/fast-foundation'; /** * The interface for each select renderer option * @public */ export interface SelectRendererOptions { name: string; displayName: string; isDisabled?: (rowData: any) => boolean; tooltip?: string; } /** * The interface for the select renderer parameters * @public */ export interface SelectCellRendererParams extends ICellRendererParams { accessor: string; defaultValue?: string; options: (rowData: any) => SelectRendererOptions[]; onSelect: (value: string, params: SelectCellRendererParams) => void; isDisabled?: (rowData: any) => boolean; position?: (rowData: any) => string; } /** * The AG Select Renderer element. * @public * @tagname %%prefix%%-select-renderer */ export declare class SelectRenderer extends FoundationElement implements ICellRendererComp { params: SelectCellRendererParams; value: string; init(params: SelectCellRendererParams): void; getGui(): HTMLElement; destroy(): void; refresh(params: SelectCellRendererParams): boolean; selectionChanged: (e: any) => void; isDisabled(data: any): boolean; } /** * The AG Select Renderer Styles. * @public */ export declare const agSelectRendererStyles: 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 getSelectRendererTemplate: (designSystem?: string) => import("@microsoft/fast-element").ViewTemplate; /** * A function that returns a Foundation Select Renderer registration for configuring the component with a DesignSystem. * * @public * @remarks * HTML Element: \ */ export declare const foundationAgSelectRenderer: (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 SelectRenderer>; //# sourceMappingURL=select.renderer.d.ts.map