import type { AcceptanceLedger, CostSummary, ModelAttempt } from "../../shared/types.ts"; export interface ImportedAsyncRoot { runId: string; asyncDir: string; resultPath: string; index: number; } export interface ImportedAsyncRootResult { agent: string; output: string; success: boolean; exitCode: number; error?: string; sessionFile?: string; intercomTarget?: string; model?: string; attemptedModels?: string[]; modelAttempts?: ModelAttempt[]; totalCost?: CostSummary; structuredOutput?: unknown; structuredOutputPath?: string; structuredOutputSchemaPath?: string; acceptance?: AcceptanceLedger; timedOut?: boolean; stopped?: boolean; } export declare function waitForImportedAsyncRoot(root: ImportedAsyncRoot, options?: { pollIntervalMs?: number; terminalResultGraceMs?: number; now?: () => number; shouldAbort?: () => boolean; timeoutMessage?: string; }): Promise; export declare function resolveAsyncRootResultPath(resultsDir: string, runId: string): string; //# sourceMappingURL=chain-root-attachment.d.ts.map