import type { RemoteClawConfig } from "../config/config.js"; import type { AgentRouteBinding } from "../config/types.agents.js"; export declare function listBindings(cfg: RemoteClawConfig): AgentRouteBinding[]; export declare function listBoundAccountIds(cfg: RemoteClawConfig, channelId: string): string[]; /** * Find the first account bound to the sole configured agent on a given channel. * * Returns `null` when there is no sole agent (zero or multiple agents configured) * or when no binding targets that agent on the requested channel. Multi-agent * configs have no implicit "default" agent — callers must disambiguate explicitly. */ export declare function resolveSoleAgentBoundAccountId(cfg: RemoteClawConfig, channelId: string): string | null; export declare function buildChannelAccountBindings(cfg: RemoteClawConfig): Map>; export declare function resolvePreferredAccountId(params: { accountIds: string[]; defaultAccountId: string; boundAccounts: string[]; }): string;