export interface Axis { key: string; stroke?: string; fill?: string; active?: any; type?: string; barSize?: number; } export interface Vars { key: string; value?: any; defaults: any; component?: string; } export interface Filters { [key: string]: any; } export interface Chart { id?: string; name: string; label?: string; tooltip?: boolean; legend?: boolean; xaxis: Axis[]; yaxis: Axis[]; query?: string; vars?: Vars[]; filters?: Filters; } export declare const protoChart: { tooltip: boolean; legend: boolean; xaxis: { key: string; }[]; yaxis: ({ type: string; key: string; stroke: string; fill: string; active?: undefined; } | { type: string; active: { r: number; }; key: string; stroke: string; fill: string; })[]; label: string; query: string; vars: { key: string; defaults: string; component: string; value: { key: string; value: string; }[]; }[]; }; export declare function toStr(data: Object): string; export type FnFilter = (chart: Chart) => boolean;