import { AnyChannelDefinition, ChannelContext, ChannelDefinitionKindValue, MarkChannels } from '../../contract'; import { BuiltinTextChannelOptions } from './features'; import { IRPlotMarkOperation } from '../../schemas'; /** * 保留的内置通道名集:扩展通道的 `channel` 不得撞这些。 * @description 含内置 mark / scope / node / path channel + 位置通道 x/y/z;同名内置通道可按 kind 注册多个 definition */ export declare const BUILTIN_CHANNEL_NAMES: ReadonlySet; /** 解析通道 registry 时可传入的自定义 definition 与文本选项 */ export type ChannelRegistryOptions = { custom?: ReadonlyArray; resolveLabel?: BuiltinTextChannelOptions['resolveLabel']; }; /** 包含 definition 顺序视图的通道 registry */ export type ChannelRegistry = Map & { readonly definitions: ReadonlyArray; }; /** * 解析通道 registry:内置 definition 先注册,自定义 definition 再合并。 * @description 所有通道类型共用一张 registry;kind 决定解析结果进入 mark values、scope/node/path deliveries,或由坐标系 role 消费 */ export declare const resolveChannelRegistry: (options?: ChannelRegistryOptions) => ChannelRegistry; /** 解析某 mark 可消费的所有通道。 */ export declare const resolveMarkChannels: (mark: IRPlotMarkOperation, ctx: ChannelContext, registry: ReadonlyMap & { readonly definitions?: ReadonlyArray; }, defaultColor: string, channelKinds?: ReadonlySet) => MarkChannels; //# sourceMappingURL=registry.d.ts.map