import { MessagePath } from "@foxglove/message-path";
import { Immutable } from "@foxglove/studio";
import { Bounds1D } from "@foxglove/studio-base/components/TimeBasedChart/types";
import { PlayerState } from "@foxglove/studio-base/players/types";
import { CsvDataset, GetViewportDatasetsResult, IDatasetsBuilder, SeriesItem, Viewport } from "./IDatasetsBuilder";
export declare class CustomDatasetsBuilder implements IDatasetsBuilder {
    #private;
    constructor({ handleWorkerError }?: {
        handleWorkerError?: (event: Event) => void;
    });
    handlePlayerState(state: Immutable<PlayerState>): Bounds1D | undefined;
    setXPath(path: Immutable<MessagePath> | undefined): void;
    setSeries(series: Immutable<SeriesItem[]>): void;
    getViewportDatasets(viewport: Immutable<Viewport>): Promise<GetViewportDatasetsResult>;
    getCsvData(): Promise<CsvDataset[]>;
}
//# sourceMappingURL=CustomDatasetsBuilder.d.ts.map