import { RefuelBase } from "../RefuelBase"; import { Dataset, DatasetFromList } from "../types"; /** * Handles operations related to datasets. * This class is not intended to be instantiated directly. * Instead, access it through an instance of the Refuel class. */ export declare class Datasets { private readonly base; /** @internal */ constructor(base: RefuelBase); /** * Get a dataset by ID * * @example * ```ts * const dataset = await refuel.datasets.get(datasetId); * ``` */ get(datasetId: string): Promise; /** * List all datasets * * @example * ```ts * const datasets = await refuel.datasets.list(); * ``` */ list(projectId?: string): Promise; /** * Delete a dataset * * @example * ```ts * await refuel.datasets.delete(datasetId); * ``` */ delete(datasetId: string): Promise; /** * Update a dataset * * @example * ```ts * await refuel.datasets.update(datasetId, { scheduled_ids: ["taskId"] }); * ``` */ update(datasetId: string, data: Partial>): Promise; }