import { HTTPClient } from "./http.js";
import { Logger } from "./logger.js";
import { RetryConfig } from "./retries.js";
/**
 * Production environment
 */
export declare const ServerProduction = "production";
/**
 * Sandbox environment
 */
export declare const ServerSandbox = "sandbox";
/**
 * Contains the list of servers available to the SDK
 */
export declare const ServerList: {
    readonly production: "https://api.polar.sh";
    readonly sandbox: "https://sandbox-api.polar.sh";
};
export type SDKOptions = {
    accessToken?: string | (() => Promise<string>) | undefined;
    httpClient?: HTTPClient;
    /**
     * Allows overriding the default server used by the SDK
     */
    server?: keyof typeof ServerList | 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: "2026-04";
    readonly sdkVersion: "0.49.0";
    readonly genVersion: "2.918.3";
    readonly userAgent: "speakeasy-sdk/typescript 0.49.0 2.918.3 2026-04 @polar-sh/sdk";
};
//# sourceMappingURL=config.d.ts.map