import type { TranscriptListing } from "../../interpretation/transcript/listings.js"; import type { HarnessName } from "../../knowledge/descriptor.js"; import type { TranscriptFiles } from "./files.js"; export interface HarnessListingRequest { readonly harness: HarnessName; /** The listing this harness contributes, or null where it has none. */ readonly listing: TranscriptListing | null; readonly listingRoot: string | null; /** Whether `transcript read` has a verified method for this harness. */ readonly readable: boolean; /** Sibling suffixes this harness's reader requires absent or empty around a * capture, as the reader declares them. Empty where it requires none. */ readonly quiescentSiblings: readonly string[]; /** Why this harness contributes no listing; null when it contributes one. */ readonly divergence: string | null; } export interface ListSessionsRequest { readonly harnesses: readonly HarnessListingRequest[]; readonly hcnVersion: string; /** The workspace rows must match exactly, or null under --all-workspaces. */ readonly workspace: string | null; readonly headless: boolean; readonly limit: number | null; /** Sources written before this UTC instant are not opened at all, or null * to open every one. */ readonly sinceTime: string | null; } export interface ListSessionsDeps { readonly files: TranscriptFiles; /** Files that can take a passive filesystem clone, for an index needing one. */ readonly snapshotFiles: TranscriptFiles; readonly signal?: AbortSignal; readonly write: (line: string) => Promise; } export declare function listSessions(request: ListSessionsRequest, deps: ListSessionsDeps): Promise; //# sourceMappingURL=list.d.ts.map