import { Client } from "@xmtp/node-sdk"; import type { ConvosConfig } from "./config.js"; import type { Identity } from "./identities.js"; /** * Get the XMTP client for this install's singleton identity. * Creates the identity and registers the client on first call; * returns the cached client on subsequent calls within the process. * * Per ADR 011: one XMTP inbox per install, shared across all conversations. * * @param config - Convos configuration * @param homeDir - Convos home directory (default: $CONVOS_HOME or ~/.convos) */ export declare function getClient(config: ConvosConfig, homeDir?: string): Promise>; /** * Get the singleton identity and its XMTP client together. * Convenience for commands that need both. */ export declare function getIdentityAndClient(config: ConvosConfig, homeDir?: string): Promise<{ identity: Identity; client: Client; }>;