import { Component, type HTMLTemplateResult, type PropertyValues } from '@a11d/lit'; import { DataGrid } from '../DataGrid.js'; import { DataGridColumn, type DataGridColumnAlignment, type DataGridColumnContentStyle, type DataGridColumnMenuItems, type DataGridColumnSticky } from '../DataGridColumn.js'; /** * @attr width - The width of the column * @attr hidden - Whether the column is hidden. The column can be made visible by the user in the settings panel if available. * @attr heading - The heading of the column * @attr textAlign - The text alignment of the column * @attr description - The description of the column. It will be displayed as a tooltip on the heading. * @attr dataSelector - The data selector of the column * @attr sortDataSelector - The data selector of the column * @attr nonSortable - Whether the column is sortable * @attr nonEditable - Whether the column is editable * @attr sticky - The sticky position of the column, either 'start', 'end', or 'both' * @attr getContentTemplate - The content template of the column. * @attr contentStyle - The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data. * @attr getEditContentTemplate - The edit content template of the column. */ export declare class DataGridColumnComponent extends Component { private readonly updateEvent; dataGrid?: DataGrid | undefined; width: string; hidden: boolean; sticky?: DataGridColumnSticky; heading: string; description?: string; textAlign: DataGridColumnAlignment; dataSelector: KeyPath.Of; sortDataSelector?: KeyPath.Of; nonSortable: boolean; nonEditable: boolean | Predicate; contentStyle?: DataGridColumnContentStyle; protected getMenuItemsTemplate?(): DataGridColumnMenuItems; getContentTemplate?(value: TValue | undefined, data: TData): HTMLTemplateResult; getEditContentTemplate?(value: TValue | undefined, data: TData): HTMLTemplateResult; protected handleEdit(value: TValue | undefined, data: TData): void; connectedCallback(): void; disconnectedCallback(): void; protected updated(props: PropertyValues): void; generateCsvHeading(): Generator; generateCsvValue(value: any, data: TData): Generator; get column(): DataGridColumn; } declare global { interface HTMLElementTagNameMap { 'mo-data-grid-column': DataGridColumnComponent; } } //# sourceMappingURL=DataGridColumnComponent.d.ts.map