/** * Read tools: status, balance, capacity, avatars, clips, assets, usage, and the * free idempotent session release. All are concurrency-safe. * * @module dsh-realtimeavatar/tools/read */ import { type Balance, type Capacity } from '../api.js'; import { KeyError, type KeyPosture } from '../credentials.js'; import { type RtaToolDefinition, type ToolDeps } from './shared.js'; export interface StatusReport { plugin: string; version: string; key: KeyPosture; readOnly: boolean; writeApproval: boolean; maxSessionSeconds: number; configError?: string; balance: Balance | null; capacity: Capacity | null; errors: { balance?: string; capacity?: string; key?: string; }; next: string[]; } /** Shared by rta_status and `/rta status`. Never throws on a missing key; reports it instead. */ export declare function collectStatus(deps: ToolDeps, signal: AbortSignal | undefined): Promise; /** Human rendering of a status report. Total: tolerates partial or malformed values. */ export declare function renderStatus(value: unknown): string; export declare function buildReadTools(deps: ToolDeps): RtaToolDefinition[]; export { KeyError };