import { TimeRange, type Series, type channel } from "@synnaxlabs/client";
import { type SeriesDigest } from "@synnaxlabs/x";
export declare class ReadResponse {
    channel: channel.Payload;
    data: Series[];
    constructor(channel: channel.Payload, data: Series[]);
    get timeRange(): TimeRange;
    get digest(): ReadResponseDigest;
}
export interface PromiseFns<T> {
    resolve: (value: T) => void;
    reject: (reason?: any) => void;
}
export interface ReadResponseDigest {
    channel: channel.Key;
    timeRange: string;
    series: SeriesDigest[];
}
export declare const responseDigests: (responses: ReadResponse[]) => ReadResponseDigest[];
