cloudflare
Version:
The official TypeScript library for the Cloudflare API
21 lines • 995 B
text/typescript
import { APIResource } from "../../core/resource.mjs";
import { PagePromise, SinglePage } from "../../core/pagination.mjs";
import { RequestOptions } from "../../internal/request-options.mjs";
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.mts.map