/**----------------------------------------------------------------------------------------- * 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 the specified column to the minimum possible width so that it fits the header or cell content without wrapping. * [See example](slug:columnmenu_grid#toc-autosize-column-item). * * Place this component inside a [`ColumnMenuTemplate`]({% slug api_grid_columnmenutemplatedirective %}) directive. * Set the [`ColumnMenuService`]({% slug api_grid_columnmenuservice %}) and `column` passed by * the template to the `service` and `column` inputs of the `kendo-grid-columnmenu-autosize-column` component. * * @example * ```html * * * * * * * ``` * @example * ```html * * * * * * * ``` */ export declare class ColumnMenuAutoSizeColumnComponent extends ColumnMenuItemBase implements OnInit { ctx: ContextService; /** * Specifies the Grid column instance to resize with the auto size column option. */ column: any; maxWidthIcon: SVGIcon; constructor(ctx: ContextService); ngOnInit(): void; /** * Resizes the specified column to the minimum possible width so that it fits the widest header or cell content without wrapping. */ autoSizeColumn(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }