/**
 * THIS IS GENERATED CODE!
 * PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
 */
export declare const typescriptDeclarationFixConstant = 1;
import { UiEvent } from "./UiEvent";
import { TeamAppsEvent } from "../modules/util/TeamAppsEvent";
import { UiComponentConfig } from "./UiComponentConfig";
import { UiLongIntervalConfig } from "./UiLongIntervalConfig";
import { UiTimeChartZoomLevelConfig } from "./UiTimeChartZoomLevelConfig";
import { AbstractUiLineChartDataDisplayConfig } from "./AbstractUiLineChartDataDisplayConfig";
import { UiTimeGraphDataPointConfig } from "./UiTimeGraphDataPointConfig";
import { UiLineChartYScaleZoomMode } from "./UiLineChartYScaleZoomMode";
import { UiScaleType } from "./UiScaleType";
import { UiLineChartMouseScrollZoomPanMode } from "./UiLineChartMouseScrollZoomPanMode";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiTimeGraphConfig extends UiComponentConfig {
    _type?: string;
    yScaleZoomMode?: UiLineChartYScaleZoomMode;
    intervalX: UiLongIntervalConfig;
    zoomLevels: UiTimeChartZoomLevelConfig[];
    maxPixelsBetweenDataPoints: number;
    lines: AbstractUiLineChartDataDisplayConfig[];
    yScaleType?: UiScaleType;
    mouseScrollZoomPanMode?: UiLineChartMouseScrollZoomPanMode;
    locale?: string;
    timeZoneId?: string;
}
export interface UiTimeGraphCommandHandler extends UiComponentCommandHandler {
    setIntervalX(intervalX: UiLongIntervalConfig): any;
    setMaxPixelsBetweenDataPoints(maxPixelsBetweenDataPoints: number): any;
    addData(zoomLevel: number, intervalX: UiLongIntervalConfig, data: {
        [name: string]: UiTimeGraphDataPointConfig[];
    }): any;
    resetAllData(newZoomLevels: UiTimeChartZoomLevelConfig[]): any;
    replaceAllData(newZoomLevels: UiTimeChartZoomLevelConfig[], zoomLevel: number, intervalX: UiLongIntervalConfig, data: {
        [name: string]: UiTimeGraphDataPointConfig[];
    }): any;
    setMouseScrollZoomPanMode(mouseScrollZoomPanMode: UiLineChartMouseScrollZoomPanMode): any;
    setSelectedInterval(intervalX: UiLongIntervalConfig): any;
    setLines(lines: AbstractUiLineChartDataDisplayConfig[]): any;
    setLine(lineId: string, line: AbstractUiLineChartDataDisplayConfig): any;
    zoomTo(intervalX: UiLongIntervalConfig): any;
}
export interface UiTimeGraphEventSource {
    onDataNeeded: TeamAppsEvent<UiTimeGraph_DataNeededEvent>;
    onZoomed: TeamAppsEvent<UiTimeGraph_ZoomedEvent>;
    onIntervalSelected: TeamAppsEvent<UiTimeGraph_IntervalSelectedEvent>;
}
export interface UiTimeGraph_DataNeededEvent extends UiEvent {
    zoomLevelIndex: number;
    neededIntervalX: UiLongIntervalConfig;
    displayedInterval: UiLongIntervalConfig;
}
export interface UiTimeGraph_ZoomedEvent extends UiEvent {
    intervalX: UiLongIntervalConfig;
    zoomLevelIndex: number;
}
export interface UiTimeGraph_IntervalSelectedEvent extends UiEvent {
    intervalX: UiLongIntervalConfig;
}
