interface GatewayConnectionDetails { url: string; token?: string; password?: string; stateDir: string; } interface GatewayRequestOptions { expectFinal?: boolean; timeoutMs?: number; } export interface GatewayCallParams { env: NodeJS.ProcessEnv; method: string; params?: unknown; options?: GatewayRequestOptions; } export declare function callOpenClawGatewayRpc(params: GatewayCallParams): Promise; export declare function resolveGatewayConnectionFromEnv(env: NodeJS.ProcessEnv): GatewayConnectionDetails; export declare function resolveGatewayAgentCallTimeoutMs(timeoutMs?: number): number; export {};