import { CdkContextMenuTrigger } from '@angular/cdk/menu'; import * as i0 from "@angular/core"; export interface FuTableCellContextMenuTemplateContext { /** The current value of the cell */ value: unknown; /** The current row object */ row: T; /** Column index in the rendered table */ colIndex: number; /** Row index in the rendered table */ rowIndex: number; /** The context menu trigger */ trigger: CdkContextMenuTrigger; } /** * Defines a custom cell context menu template for a `fu-column`. * * The template context exposes: * - `value` – the current cell value * - `row` – the current row data * - `colIndex` – column index * - `rowIndex` – row index * - `trigger` – the context menu trigger * * ## Typing * To enable strong typing for `row`, provide the table data using `rowOf`. * This is used only for type inference and does not affect rendering. * * Usage: * ```html * * {{ row.name }} * * ``` * * If `rowOf` is omitted, `row` will be typed as `any`. */ export declare class FuTableCellContextMenuTemplateDirective { /** * Provides typing context for the row context menu template. * Used only for type inference – not consumed at runtime. */ of: import("@angular/core").InputSignal; static ngTemplateContextGuard(_dir: FuTableCellContextMenuTemplateDirective, ctx: unknown): ctx is FuTableCellContextMenuTemplateContext; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[fuTableCellContextMenu]", never, { "of": { "alias": "rowOf"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>; }