import type { AgCartesianAxisType, AgChartInstance, AgChartInstanceOptions, AgPolarAxisType } from 'ag-charts-types';
export declare function deproxy(chartOrProxy: AgChartInstance<AgChartInstanceOptions>): AgChartActual;
export interface AgChartActual extends AgChartInstance {
    title: {
        node: {
            getPlainText: () => string;
        };
    };
    width: number;
    height: number;
    series: {
        id: string;
        type: string;
        toggleSeriesItem(enabled?: boolean, legendType?: string, itemId?: string, legendItemName?: string): void;
        properties: {
            [key: string]: any;
            toJson(): any;
        };
    }[];
    axes?: Record<string, {
        type: AgCartesianAxisType | AgPolarAxisType;
        direction: 'x' | 'y';
    }>;
    canvasElement: HTMLCanvasElement;
    getCanvasDataURL(type?: string): string;
    addEventListener(type: 'click', cb: (even: any) => void): void;
    waitForUpdate(): Promise<void>;
}
type AgChartAxis = NonNullable<AgChartActual['axes']>[string];
export type AgChartAxisType = AgChartAxis['type'];
export {};
