import { ICellEditorComp, ICellEditorParams } from '@ag-grid-community/core'; import { FoundationElement } from '@microsoft/fast-foundation'; /** * Parameters used to configure {@link NumberEditor} * @public */ export interface NumberEditorParams extends ICellEditorParams { withFormatting: boolean; formatOptions: any; placeholder: string; disabled: boolean; onChange: (value: number, params: NumberEditorParams) => void; } /** * The AG Number Editor element. * @public * @tagname %%prefix%%-number-editor */ export declare class NumberEditor extends FoundationElement implements ICellEditorComp { params: NumberEditorParams; value: number; actualWidth: number; input: any; init(params: NumberEditorParams): void; getGui(): HTMLElement; refresh(params: NumberEditorParams): boolean; getValue(): number; isPopup(): boolean; afterGuiAttached(): void; changeHandler(event: any): void; isCancelBeforeStart(): boolean; } /** * The AG Number Editor Styles. * @public */ export declare const agNumberEditorStyles: 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 getNumberEditorTemplate: (designSystem?: string) => import("@microsoft/fast-element").ViewTemplate; /** * * @public * @remarks * HTML Element: \ */ export declare const foundationNumberEditor: (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 NumberEditor>; //# sourceMappingURL=number.editor.d.ts.map