/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { OnInit } from '@angular/core'; import { SVGIcon } from '@progress/kendo-svg-icons'; import { ContextService } from '../common/provider.service'; import { ColumnMenuItemBase } from './column-menu-item-base'; import * as i0 from "@angular/core"; /** * Represents the column-menu item for resizing all columns to the minimum possible width so that they fit the widest header or cell content without wrapping. * [See example](slug:columnmenu_grid#toc-autosize-all-columns-item). * * Place this component inside a [`ColumnMenuTemplate`]({% slug api_grid_columnmenutemplatedirective %}) directive. * To register it as a column menu item, set the [`ColumnMenuService`]({% slug api_grid_columnmenuservice %}) passed by * the template to the `service` input of the `kendo-grid-columnmenu-autosize-all-columns` component. [See example](slug:columnmenu_grid#toc-customizing-the-content). * * @example * ```html * * * * * * * ``` * @example * ```html * * * * * * * ``` */ export declare class ColumnMenuAutoSizeAllColumnsComponent extends ColumnMenuItemBase implements OnInit { ctx: ContextService; displayInlineFlexIcon: SVGIcon; constructor(ctx: ContextService); ngOnInit(): void; /** * Resizes all columns to the minimum possible width so that they fit the widest header or cell content without wrapping. */ autoSizeAllColumns(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }