import { APIResource } from "../../core/resource.mjs"; import { PagePromise, SinglePage } from "../../core/pagination.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class BaseTasks extends APIResource { static readonly _key: readonly ['ai', 'tasks']; /** * Searches Workers AI models by task type (e.g., text-generation, embeddings). */ list(params: TaskListParams, options?: RequestOptions): PagePromise; } export declare class Tasks extends BaseTasks { } export type TaskListResponsesSinglePage = SinglePage; export type TaskListResponse = unknown; export interface TaskListParams { account_id: string; } export declare namespace Tasks { export { type TaskListResponse as TaskListResponse, type TaskListResponsesSinglePage as TaskListResponsesSinglePage, type TaskListParams as TaskListParams, }; } //# sourceMappingURL=tasks.d.mts.map