import { ExternalDatasets } from '@retikz/data'; import { PlotHostLineageMetadata, PlotLineageLocator, PlotLineageLowerResult, PlotLineageOptions } from '../contract'; import { IRPlotSpec } from '../schemas'; import { LowerPlotsOptions } from './expand'; /** lowerPlotWithLineage 选项 */ export type PlotLineageLowerOptions = LowerPlotsOptions & { /** plot lineage 开关;false 时关闭可选摘要,只返回最小结构 */ lineage?: false | PlotLineageOptions; /** 宿主提供的 JSON-safe lineage metadata */ hostLineageMetadata?: PlotHostLineageMetadata; }; /** 下沉单个 plot spec 并返回 runtime-only lineage artifact */ export declare const lowerPlotWithLineage: (spec: IRPlotSpec, datasets: ExternalDatasets, options?: PlotLineageLowerOptions) => PlotLineageLowerResult; /** 创建带 lineage 的 plot locator */ export declare const createPlotLineageLocator: (spec: IRPlotSpec, datasets: ExternalDatasets, options?: PlotLineageLowerOptions) => PlotLineageLocator; //# sourceMappingURL=lineage.d.ts.map