import { GlobalCfgRenderCtx } from "../render/internal.js"; import { TreeNodeAccessor } from "../render/accessor.js"; import "../render/index.js"; import { ColumnRecipeId } from "./column_recipes/types.js"; import { ColumnData, DataColumnRecipe } from "./data_column.js"; import { ColumnRecipe } from "./column_recipes/index.js"; import { ColumnUniversalId, LeafEntry, PColumn, PObjectId, PlRef } from "@milaboratories/pl-model-common"; export type ColumnSource = PObjectId | ColumnUniversalId | PlRef | LeafEntry | PColumn | DataColumnRecipe; /** * Unified entry point — routes between the two top-level dispatchers: * - string id (`PObjectId` / `ColumnUniversalId`) → {@link ColumnRecipe} * - object source (`PlRef` / `LeafEntry` / `PColumn` / `DataColumnRecipe`) → {@link DataColumnRecipe} * * `DataColumnRecipe` is itself a `ColumnRecipe`, so the return type is * the common `ColumnRecipe`. */ export declare function Column(source: ColumnSource, opts?: { ctx?: GlobalCfgRenderCtx; }): undefined | ColumnRecipe; export type Column = ColumnRecipe; /** * Type-guard for the `Column` type — currently aliased to `ColumnRecipe`, so * this is equivalent to {@link isColumnRecipe}. Kept as a separate export to * mirror the `Column` / `ColumnRecipe` / `DataColumnRecipe` factory triple. */ export declare function isColumn(value: unknown): value is Column; //# sourceMappingURL=column.d.ts.map