export type VariantDimensions = Record; export declare function parseDimensions(raw: unknown): VariantDimensions; export declare function stringifyDimensions(dimensions: VariantDimensions): string; /** Channel select value: `'default'` when no channelId key, else the channel id. */ export declare function getChannelId(dimensions: VariantDimensions): string; /** * MVP channel picker: Default → `{}`; channel → `{ channelId }` only * (clears other dimension keys so the select stays channel-centric). */ export declare function setChannelId(channelId: string): VariantDimensions; type DirectiveAttributes = Record | null | undefined; /** Map remark-directive attributes → dimensions JSON (drops boolean `default` key). */ export declare function dimensionsFromDirectiveAttributes(attributes: DirectiveAttributes): string; /** Map dimensions JSON → remark-directive attributes (`{default}` or key=value). */ export declare function directiveAttributesFromDimensions(raw: unknown): Record; export {};