import { APIResource } from "../../../core/resource.js"; import { PagePromise, V4PagePaginationArray, type V4PagePaginationArrayParams } from "../../../core/pagination.js"; import { RequestOptions } from "../../../internal/request-options.js"; export declare class BaseHosts extends APIResource { static readonly _key: readonly ['apiGateway', 'userSchemas', 'hosts']; /** * Lists all unique hosts found in uploaded OpenAPI schemas for the zone. Useful * for understanding which domains have schema coverage. * * @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead. */ list(params: HostListParams, options?: RequestOptions): PagePromise; } export declare class Hosts extends BaseHosts { } export type HostListResponsesV4PagePaginationArray = V4PagePaginationArray; export interface HostListResponse { created_at: string; /** * Hosts serving the schema, e.g zone.host.com */ hosts: Array; /** * Name of the schema */ name: string; /** * UUID. */ schema_id: string; } export interface HostListParams extends V4PagePaginationArrayParams { /** * Path param: Identifier. */ zone_id: string; } export declare namespace Hosts { export { type HostListResponse as HostListResponse, type HostListResponsesV4PagePaginationArray as HostListResponsesV4PagePaginationArray, type HostListParams as HostListParams, }; } //# sourceMappingURL=hosts.d.ts.map