import { PipeTransform } from '@angular/core'; import * as i0 from "@angular/core"; export type ColumnAlignmentType = 'left' | 'center' | 'right'; /** * Interface for the definition of a single table column * @template TRowData - type / interface definition for data of a single row */ export type ColumnDisplayType = 'string' | 'mailtoLink' | 'image'; export interface CellValueBase { type: ColumnDisplayType; } export interface CellValueString extends CellValueBase { type: 'string'; text: string; } export interface CellValueMailTo extends CellValueBase { type: 'mailtoLink'; url: string; text: string; } export interface CellValueImage extends CellValueBase { type: 'image'; url: string; altText: string; title?: string; } export type CellContentValue = CellValueString | CellValueMailTo | CellValueImage; export type CellContentDefType = (element: TRowData) => CellContentValue; export declare class CastPipe implements PipeTransform { transform(value: any, typeToken?: T): T; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } export interface MatColumnDefinition { columnId: string; sortable?: boolean; resizable?: boolean; header: string; headerAlignment?: ColumnAlignmentType; cell: CellContentDefType; cellAlignment?: ColumnAlignmentType; width?: string; tooltip?: (element: TRowData) => string; showAsSingleLine?: boolean; footer?: string; footerAlignment?: ColumnAlignmentType; footerColumnSpan?: number; }