import { n as GatewayClientName, t as GatewayClientMode } from "./client-info-CgGSgtDZ.js"; import { i as OpenClawConfig } from "./types.openclaw-kCuaFdwZ.js"; import { t as OperatorScope } from "./operator-scopes-Phea7r7e.js"; import { a as DeviceIdentity, r as GatewayClientRequestOptions } from "./client-DG7pG2at.js"; //#region src/gateway/call.d.ts type GatewayRequestFunction = >(method: string, params?: unknown, opts?: GatewayClientRequestOptions) => Promise; type CallGatewayBaseOptions = { url?: string; token?: string; password?: string; tlsFingerprint?: string; config?: OpenClawConfig; method: string; params?: unknown; expectFinal?: boolean; timeoutMs?: number; signal?: AbortSignal; onAccepted?: GatewayClientRequestOptions["onAccepted"]; onSignalAbort?: (request: GatewayRequestFunction) => Promise | void; clientName?: GatewayClientName; clientDisplayName?: string; clientVersion?: string; platform?: string; mode?: GatewayClientMode; approvalRuntimeToken?: string; useStoredDeviceAuth?: boolean; requiredStoredDeviceAuthScopes?: OperatorScope[]; requireLocalBackendSharedAuth?: boolean; deviceIdentity?: DeviceIdentity | null; instanceId?: string; minProtocol?: number; maxProtocol?: number; requiredMethods?: string[]; /** * Overrides the config path shown in connection error details. * Does not affect config loading; callers still control auth via opts.token/password/env/config. */ configPath?: string; }; type CallGatewayOptions = CallGatewayBaseOptions & { scopes?: OperatorScope[]; }; declare function callGateway>(opts: CallGatewayOptions): Promise; //#endregion export { callGateway as t };