import { type RpcCallOptions } from '../client.js'; import { type GlobalFlags } from '../output.js'; /** * Resolve a session identifier (@name / - / s-xxx) to a real session ID, * save it as "last session", then make an RPC call and emit the response. * * Use this wrapper in all command handlers that accept a session_id argument. */ export declare function callDaemon(method: string, params: Record, rawSid: string, flags: GlobalFlags, rpcOpts?: RpcCallOptions): Promise; //# sourceMappingURL=shared.d.ts.map