import {NonPositionScaleChannel, PositionScaleChannel, ScaleChannel} from './channel.js'; export type ResolveMode = 'independent' | 'shared'; /** * Defines how scales, axes, and legends from different specs should be combined. Resolve is a mapping from `scale`, `axis`, and `legend` to a mapping from channels to resolutions. Scales and guides can be resolved to be `"independent"` or `"shared"`. */ export interface Resolve { scale?: ScaleResolveMap; axis?: AxisResolveMap; legend?: LegendResolveMap; } export type ScaleResolveMap = Partial>; export type AxisResolveMap = Partial>; export type LegendResolveMap = Partial>;