import type { ApiDatasetInfo } from "../types/api/api-dataset"; import type { CredentialsParams } from "../types/public"; export declare const DATASET_EXPAND_KEYS: readonly ["private", "downloads", "gated", "likes", "lastModified"]; export declare const DATASET_EXPANDABLE_KEYS: readonly ["author", "cardData", "citation", "createdAt", "disabled", "description", "downloads", "downloadsAllTime", "gated", "gitalyUid", "lastModified", "likes", "paperswithcode_id", "private", "sha", "tags"]; export interface DatasetEntry { id: string; name: string; private: boolean; downloads: number; gated: false | "auto" | "manual"; likes: number; updatedAt: Date; } export declare function listDatasets = never>(params?: { search?: { /** * Will search in the dataset name for matches */ query?: string; owner?: string; tags?: string[]; }; hubUrl?: string; additionalFields?: T[]; /** * Set to limit the number of datasets returned. */ limit?: number; /** * Sort datasets by a specific field. */ sort?: "createdAt" | "downloads" | "likes" | "lastModified" | "likes30d" | "trendingScore" | "datasetsServerInfo.numRows" | "mainSize" | "id"; /** * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. */ fetch?: typeof fetch; } & Partial): AsyncGenerator>; //# sourceMappingURL=list-datasets.d.ts.map