import type { WidgetSettingsData } from '../sdk';
import type { MarketrixConfig } from '../types';
export declare const Config: {
    API_URL: string;
    AGENT_SERVER_URL: string;
};
/**
 * Update the global API configuration
 */
export declare const updateApiConfig: (apiUrl?: string, agentUrl?: string) => void;
/**
 * Get the configured API URL.
 */
export declare const getApiUrl: () => string;
/**
 * Extract widget settings from MarketrixConfig
 * Settings should already include defaults from API, so we just extract the widget-specific fields
 */
export declare function extractWidgetSettingsFromConfig(config: Partial<MarketrixConfig>): WidgetSettingsData;
/**
 * Derives the websocket URL for the agent server
 * Requires either config.mtxAiHost or configured AGENT_SERVER_URL to be provided
 * @throws Error if neither mtxAiHost nor configured AGENT_SERVER_URL is provided
 */
export declare function getAgentWebSocketUrl(config?: Partial<MarketrixConfig>): string;
//# sourceMappingURL=config.d.ts.map