import { APIResource } from "../../core/resource.mjs"; import { PagePromise, SinglePage } from "../../core/pagination.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class BaseProtocols extends APIResource { static readonly _key: readonly ['spectrum', 'protocols']; /** * Retrieves a list of Spectrum application protocols available for a zone. */ list(params: ProtocolListParams, options?: RequestOptions): PagePromise; } export declare class Protocols extends BaseProtocols { } export type ProtocolListResponsesSinglePage = SinglePage; export interface ProtocolListResponse { /** * The full name of the application protocol. */ description: string; /** * The short name of the application protocol. */ name: string; /** * The available listening ports for the given protocol. */ ports: Array; /** * The transport layer protocol used by the application protocol */ transport: string; } export interface ProtocolListParams { /** * Zone identifier. */ zone_id: string; } export declare namespace Protocols { export { type ProtocolListResponse as ProtocolListResponse, type ProtocolListResponsesSinglePage as ProtocolListResponsesSinglePage, type ProtocolListParams as ProtocolListParams, }; } //# sourceMappingURL=protocols.d.mts.map