import type { ActiveRun } from "./types.ts"; export type HandoffAudience = "resume" | "subagent" | "replay"; export interface HandoffCapsuleInput { cwd: string; run?: ActiveRun; audience?: HandoffAudience; task?: string; maxChars?: number; } export declare function buildHandoffCapsule(input: HandoffCapsuleInput): string;