/** One row of the space overview. */ export interface SpaceInfo { space: string; agents: number; channels: number; messages: number; } export interface ListSpacesOptions { servers?: string; creds?: string; timeoutMs?: number; } /** Enumerate spaces by reading back the per-space chat streams + presence buckets. Opens a * short-lived connection (bare, or with `creds`) and closes it. Per-space stats are best-effort: * a stream/bucket that can't be inspected just leaves its counts at 0. */ export declare function listSpaces(opts?: ListSpacesOptions): Promise; /** Tear down a space — delete its chat/DM/task streams plus the presence and channel-registry KV * buckets. Irreversible; all history, presence, and channel config for the space is gone. Open * mode, or a cred allowing STREAM.DELETE. Not-found streams are ignored (idempotent). */ export declare function deleteSpace(opts: { servers?: string; creds?: string; space: string; }): Promise; //# sourceMappingURL=spaces.d.ts.map