/**
 * Configuration for the Fluid SDK.
 * Use Readonly<FluidSDKConfig> when the config should not be modified after creation.
 */
export interface FluidSDKConfig {
    /**
     * Base URL for the Fluid API domain (e.g., "https://api.fluid.app").
     * Endpoints include their full path from root (e.g., "/api/reps/me").
     */
    readonly baseUrl: string;
    /**
     * Optional token getter for contexts where session cookies are unavailable
     * (e.g., the cross-origin builder preview iframe). Not used in normal
     * portal operation — auth is handled by session cookies via `credentials: 'include'`.
     */
    readonly getAuthToken?: () => string | null | Promise<string | null>;
    /**
     * Callback invoked when a 401 authentication error occurs
     * Use this to trigger re-authentication flows
     */
    readonly onAuthError?: () => void;
    /**
     * Default headers to include in all requests
     * Example: { "x-fluid-client": "portal" }
     */
    readonly defaultHeaders?: Readonly<Record<string, string>>;
    /**
     * Override WebSocket URL for real-time messaging.
     * Default: derived from baseUrl by replacing trailing /api with /cable
     */
    readonly websocketUrl?: string;
    /**
     * ISO country code for the store/merchant (e.g., "US", "CA", "GB").
     * Used to fetch country-specific payment methods.
     * @default "US"
     */
    readonly countryIso?: string;
    /**
     * SmartyStreets embedded autocomplete key. When omitted, the address
     * autocomplete in the address modals falls back to a plain text input.
     * The key is referer-locked, so each environment's hostnames must be
     * added to the SmartyStreets allowlist.
     */
    readonly smartyEmbeddedKey?: string;
    /**
     * Google Maps Static API key. When provided, order detail screens
     * display a static map image of the shipping address.
     */
    readonly googleMapsApiKey?: string;
}
//# sourceMappingURL=config.d.ts.map