import { Primitive, G2Theme, G2MarkState, ChannelGroups } from './types/common'; import { G2CoordinateOptions, G2Library, G2ScaleOptions, G2Mark, G2View } from './types/options'; import { Scale } from './types/component'; import { MarkChannel } from './types/mark'; export declare function inferScale(name: string, values: Primitive[][], options: Record, coordinates: G2CoordinateOptions[], theme: G2Theme, library: G2Library): Record; export declare function applyScale(channels: ChannelGroups[], scale: Record): MarkChannel; export declare function groupTransform(markState: Map, uidScale: Map): void; export declare function collectScales(states: G2MarkState[], options: G2View): Record[]; export declare function useRelation(relations: [any, any][]): [(scale: Scale) => Scale, (scale: Scale) => Scale]; export declare function assignScale(target: Record, source: Record): Record; export declare function useRelationScale(options: Record, library: G2Library): Scale; export declare function syncFacetsScales(states: Map[]): void; export declare function isPosition(name: string): boolean; export declare function isValidScale(scale: G2ScaleOptions): boolean;