import { LooseObject } from '@antv/g-base'; import { Datum } from '@antv/g2/lib/interface'; import { ChartConfig, ChartOptions } from '../interfaces'; export declare const inValidConfig: (config: ChartConfig) => boolean; export declare const getTheme: (theme?: string | LooseObject | Datum | undefined) => LooseObject | Datum; export declare const getDefaultTheme: (theme?: LooseObject | undefined, config?: ChartConfig | undefined) => { styleSheet: { paletteQualitative10: string[]; paletteQualitative20: string[]; }; components: { axis: { common: { title: { style: { fontFamily: string; fontSize: number; fill: string; }; }; label: { offset: number; style: { fontFamily: string; fontSize: number; fill: string; }; }; line: { style: { lineWidth: number; stroke: string; }; }; grid: { line: { type: string; style: { stroke: string; lineWidth: number; }; }; alignTick: boolean; animate: boolean; }; tickLine: null; subTickLine: null; }; }; tooltip: { crosshairs: { line: { style: { stroke: string; }; }; }; }; }; labels: { offset: number; style: { fontFamily: string; fill: string; fontSize: number; }; }; gio: { annotation: { text: { title: import("@antv/g2/lib/interface").TextOption; count: import("@antv/g2/lib/interface").TextOption; }; }; }; } & (LooseObject | undefined) & (LooseObject | Datum); export declare const getDefaultViewTheme: (config?: ChartConfig | undefined) => { styleSheet: { paletteQualitative10: string[]; paletteQualitative20: string[]; }; components: { axis: { common: { title: { style: { fontFamily: string; fontSize: number; fill: string; }; }; label: { offset: number; style: { fontFamily: string; fontSize: number; fill: string; }; }; line: { style: { lineWidth: number; stroke: string; }; }; grid: { line: { type: string; style: { stroke: string; lineWidth: number; }; }; alignTick: boolean; animate: boolean; }; tickLine: null; subTickLine: null; }; }; tooltip: { crosshairs: { line: { style: { stroke: string; }; }; }; }; }; labels: { offset: number; style: { fontFamily: string; fill: string; fontSize: number; }; }; gio: { annotation: { text: { title: import("@antv/g2/lib/interface").TextOption; count: import("@antv/g2/lib/interface").TextOption; }; }; }; } & { components: { axis: { common: { label: { style: { fontSize: number; fill: string; }; }; line: { style: { fontSize: number; stroke: string; }; }; }; }; }; labels: { style: { fontSize: number; fill: string; }; }; }; export declare const fixedHeight: (options: ChartOptions, config: ChartConfig) => number;