import type { SessionEntry } from "@earendil-works/pi-coding-agent"; export type AgentSeedMode = "task" | "branch" | "snippet"; export declare const DEFAULT_SEED_MESSAGES = 12; export declare const checkedSeed: (seed: unknown, seedMessages: unknown) => { seed: AgentSeedMode; seedMessages: number; }; /** * The caller branch up to its last completed turn. The in-flight fabric_exec * assistant turn (and any later partial results) is the newest assistant entry * with an unresolved tool call after the latest user message; the prefix ends * just before it. Older orphans belong to history and are kept as-is. */ export declare const completedBranchPrefix: (branch: readonly SessionEntry[]) => SessionEntry[]; /** * Prefix the task with the last `count` user/assistant text messages. Tool * calls, tool results, thinking, and images are dropped; each message is * truncated deterministically. */ export declare const snippetTask: (branch: readonly SessionEntry[], count: number, task: string) => string; //# sourceMappingURL=fork-seed.d.ts.map