import { G2MarkState, ChannelGroups } from './types/common'; import { G2Library, G2ScaleOptions, G2Mark } from './types/options'; import { Scale } from './types/component'; import { MarkChannel } from './types/mark'; export declare function inferScale(name: any, values: any, options: any, coordinates: any, theme: any, library: any): any; export declare function applyScale(channels: ChannelGroups[], scale: Record): MarkChannel; export declare function useRelation(relations: [any, any][]): [(scale: Scale) => Scale, (scale: Scale) => Scale]; 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;