import { ICellRendererComp, ICellRendererParams } from '@ag-grid-community/core'; import { TextField } from '@genesislcap/foundation-ui'; import { FoundationElement } from '@microsoft/fast-foundation'; /** * Extended params for the grid text field cell renderer (affixes, accessor, etc.). * @public */ export interface FuiCellRendererParams extends ICellRendererParams { accessor?: string; maxLength?: number; prefix?: string; suffix?: string; /** * When true, affixes are hidden from assistive technology (`hide-affix-from-screen-reader` on the text field). */ hideAffixFromScreenReader?: boolean; onChange?: (value: string, params: FuiCellRendererParams) => void; isDisabled?: (rowData: any) => boolean; } /** * The AG Text Field Renderer element. * @public * @tagname %%prefix%%-grid-text-field-renderer */ export declare class AgTextFieldRenderer extends FoundationElement implements ICellRendererComp { textField: TextField; textValue: string; params: FuiCellRendererParams; init(params: FuiCellRendererParams): void; getGui(): HTMLElement; destroy(): void; refresh(params: FuiCellRendererParams): boolean; isDisabled(data: any): boolean; /** * On text change handler * @param e - CustomEvent */ textChanged: (e: any) => void; } /** * The AG Text Field Renderer Styles. * @public */ export declare const textFieldRendererStyles: import("@microsoft/fast-element").ElementStyles; /** * Get a Design System prefixed Text Field template. * @param designSystem - The design system prefix to use. Defaults to 'foundation'. * @returns A Text Field component template prefixed with the correct design system. * @public */ export declare const getTextFieldRendererTemplate: (designSystem?: string) => import("@microsoft/fast-element").ViewTemplate; /** * A function that returns a Foundation Text Field Renderer registration for configuring the component with a DesignSystem. * * @public * @remarks * HTML Element: \ */ export declare const foundationAgTextFieldRenderer: (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 AgTextFieldRenderer>; //# sourceMappingURL=text-field.renderer.d.ts.map