import { type RunStore } from "../run-state/index.js";
import type { SeedAgentThread, SeedAgentThreadInput, SeedAgentThreadPatch, SeedAgentToolManifest, SeedHelperCall, SeedHelperCallInput, SeedHelperCallPatch } from "./types.js";
export declare function agentThreadsRoot(store: RunStore, runId: string): string;
export declare function agentThreadDir(store: RunStore, runId: string, threadId: string): string;
export declare function agentThreadsPath(store: RunStore, runId: string): string;
export declare function agentThreadHelpersPath(store: RunStore, runId: string, threadId: string): string;
export declare function agentThreadToolManifestPath(store: RunStore, runId: string, threadId: string): string;
export declare function listAgentThreads(store: RunStore, runId: string): Promise<SeedAgentThread[]>;
export declare function getAgentThread(store: RunStore, runId: string, threadId: string): Promise<SeedAgentThread | undefined>;
export declare function findAgentThreadBySession(store: RunStore, runId: string, sessionId: string | undefined): Promise<SeedAgentThread | undefined>;
export declare function upsertAgentThread(store: RunStore, runId: string, input: SeedAgentThreadInput): Promise<SeedAgentThread>;
export declare function patchAgentThread(store: RunStore, runId: string, threadId: string, patch: SeedAgentThreadPatch): Promise<SeedAgentThread | undefined>;
export declare function writeAgentThreadToolManifest(store: RunStore, runId: string, threadId: string, input: Omit<SeedAgentToolManifest, "version" | "run_id" | "thread_id" | "updated_at">): Promise<string>;
export declare function listAgentThreadHelpers(store: RunStore, runId: string, ownerThreadId: string): Promise<SeedHelperCall[]>;
export declare function findAgentThreadHelperByBackground(store: RunStore, runId: string, backgroundId: string | undefined): Promise<SeedHelperCall | undefined>;
export declare function recordHelperLaunch(store: RunStore, runId: string, input: SeedHelperCallInput): Promise<SeedHelperCall>;
export declare function patchHelperCall(store: RunStore, runId: string, ownerThreadId: string, helperId: string, patch: SeedHelperCallPatch): Promise<SeedHelperCall | undefined>;
export declare function patchHelperCallByBackground(store: RunStore, runId: string, backgroundId: string | undefined, patch: SeedHelperCallPatch): Promise<SeedHelperCall | undefined>;
