import type { SignalRef } from 'vega'; import { ScaleChannel } from '../../channel'; import { Scale, ScaleType } from '../../scale'; import { ParameterExtent } from '../../selection'; import { VgNonUnionDomain, VgScale } from '../../vega.schema'; import { Explicit, Split } from '../split'; /** * All VgDomain property except domain. * (We exclude domain as we have a special "domains" array that allow us merge them all at once in assemble.) */ export type ScaleComponentProps = Omit & { domains: VgNonUnionDomain[]; selectionExtent?: ParameterExtent; reverse?: boolean | SignalRef; }; export type Range = ScaleComponentProps['range']; export declare class ScaleComponent extends Split { merged: boolean; constructor(name: string, typeWithExplicit: Explicit); /** * Whether the scale definitely includes or not include zero in the domain */ domainHasZero(): 'definitely' | 'definitely-not' | 'maybe'; } export type ScaleComponentIndex = Partial>; export type ScaleIndex = Partial>>; //# sourceMappingURL=component.d.ts.map