import * as models from "../models/index.js"; import { ClosedEnum } from "../types/enums.js"; import { HTTPClient } from "./http.js"; import { Logger } from "./logger.js"; import { RetryConfig } from "./retries.js"; /** * Contains the list of servers available to the SDK */ export declare const ServerList: readonly ["{protocol}://{hostpath}"]; export declare const ServerProtocol: { readonly Http: "http"; readonly Https: "https"; }; export type ServerProtocol = ClosedEnum; export type SDKOptions = { /** * The security details required to authenticate the SDK */ security?: models.Security | (() => Promise) | undefined; httpClient?: HTTPClient; /** * Allows overriding the default server used by the SDK */ serverIdx?: number | undefined; /** * Sets the protocol variable for url substitution */ protocol?: ServerProtocol | undefined; /** * Sets the hostpath variable for url substitution */ hostpath?: string | undefined; /** * Allows overriding the default server URL used by the SDK */ serverURL?: string | undefined; /** * Allows overriding the default user agent used by the SDK */ userAgent?: string | undefined; /** * Allows overriding the default retry config used by the SDK */ retryConfig?: RetryConfig; timeoutMs?: number; debugLogger?: Logger; }; export declare function serverURLFromOptions(options: SDKOptions): URL | null; export declare const SDK_METADATA: { readonly language: "typescript"; readonly openapiDocVersion: "1.0.0"; readonly sdkVersion: "0.1.1"; readonly genVersion: "2.686.7"; readonly userAgent: "speakeasy-sdk/typescript 0.1.1 2.686.7 1.0.0 prowlarr"; }; //# sourceMappingURL=config.d.ts.map