import { type OperatorScope } from "../../gateway/method-scopes.js";
export declare const DEFAULT_GATEWAY_URL = "ws://127.0.0.1:18789";
export type GatewayCallOptions = {
    gatewayUrl?: string;
    gatewayToken?: string;
    gatewayTarget?: "configured" | "local";
    operatorScopes?: OperatorScope[];
    timeoutMs?: number;
};
export declare function readGatewayCallOptions(params: Record<string, unknown>): GatewayCallOptions;
export declare function resolveGatewayOptions(opts?: GatewayCallOptions): {
    url: string | undefined;
    token: string | undefined;
    password: string | undefined;
    timeoutMs: number;
    config: import("../../config/types.fased.ts").FasedAgentConfig | undefined;
};
export declare function callGatewayTool<T = Record<string, unknown>>(method: string, opts: GatewayCallOptions, params?: unknown, extra?: {
    expectFinal?: boolean;
}): Promise<T>;
