import { HTTPClient } from "./http.js"; import { Logger } from "./logger.js"; import { RetryConfig } from "./retries.js"; export declare const ServerSandbox = "sandbox"; export declare const ServerProduction = "production"; /** * Contains the list of servers available to the SDK */ export declare const ServerList: { readonly sandbox: "https://api.sandbox.{id}.gr4vy.app"; readonly production: "https://api.{id}.gr4vy.app"; }; export type SDKOptions = { bearerAuth?: string | (() => Promise) | undefined; /** * Allows setting the merchantAccountId parameter for all supported operations */ merchantAccountId?: string | undefined; httpClient?: HTTPClient; /** * Allows overriding the default server used by the SDK */ server?: keyof typeof ServerList | undefined; /** * Sets the id variable for url substitution */ id?: 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: "2.4.25"; readonly genVersion: "2.937.18"; readonly userAgent: "speakeasy-sdk/typescript 2.4.25 2.937.18 1.0.0 @gr4vy/sdk"; }; //# sourceMappingURL=config.d.ts.map