import type { WorkspaceThreadLink } from '../types/index.js'; export interface UpsertThreadLinkInput { id: string; recordedAt: string; workflow: string; summary: string; runId?: string; taskId?: string; sessionId?: string; owner?: string; branch?: string; worktreePath?: string; artifacts: string[]; } export interface ThreadLinkReadiness { missingArtifacts: string[]; missingWorktreePath: string | null; } export declare function loadThreadLinks(basePath: string): Promise; export declare function getThreadLink(basePath: string, threadId: string): Promise; export declare function upsertThreadLink(basePath: string, input: UpsertThreadLinkInput): Promise; export declare function inspectThreadLink(basePath: string, link: WorkspaceThreadLink): ThreadLinkReadiness; //# sourceMappingURL=threads.d.ts.map