/** Thread collection transport (08-ui §3) — headless parity for the thread * list that callers previously reached only by calling the client directly. */ import type { ThreadId } from "../../core/index.js"; import { type PollOptions } from "./use-resource.js"; import type { Thread, ThreadSummary } from "../../core/index.js"; export declare function useThreads(options?: PollOptions): { threads: ThreadSummary[]; error: Error | undefined; isLoading: boolean; refresh(): Promise; get(id: ThreadId): Promise; remove(id: ThreadId): Promise; };