cloudflare
Version:
The official TypeScript library for the Cloudflare API
21 lines • 991 B
TypeScript
import { APIResource } from "../../core/resource.js";
import { PagePromise, SinglePage } from "../../core/pagination.js";
import { RequestOptions } from "../../internal/request-options.js";
export declare class BaseAuthors extends APIResource {
static readonly _key: readonly ['ai', 'authors'];
/**
* Searches Workers AI models by author or organization name.
*/
list(params: AuthorListParams, options?: RequestOptions): PagePromise<AuthorListResponsesSinglePage, AuthorListResponse>;
}
export declare class Authors extends BaseAuthors {
}
export type AuthorListResponsesSinglePage = SinglePage<AuthorListResponse>;
export type AuthorListResponse = unknown;
export interface AuthorListParams {
account_id: string;
}
export declare namespace Authors {
export { type AuthorListResponse as AuthorListResponse, type AuthorListResponsesSinglePage as AuthorListResponsesSinglePage, type AuthorListParams as AuthorListParams, };
}
//# sourceMappingURL=authors.d.ts.map