import type { DataFrame } from '@grafana/data';
export interface TimeRange {
    from: number;
    to: number;
}
export interface DataQueryRequest<TQuery = unknown> {
    requestId: string;
    range: TimeRange;
    intervalMs: number;
    maxDataPoints: number;
    targets: TQuery[];
    scopedVars?: Record<string, string | string[]>;
}
export interface DataQueryError {
    message: string;
    status?: number;
}
export interface DataQueryResponse {
    data: DataFrame[];
    error?: DataQueryError;
    state?: 'Done' | 'Loading' | 'Error';
}
