import { type SessionEntry } from "@earendil-works/pi-coding-agent"; import type { WorkerForkSource } from "./workflow-types.js"; export interface PiSessionForkInput extends WorkerForkSource { readonly targetSessionFile: string; } export interface PiSessionForker { fork(input: PiSessionForkInput): Promise; } export interface ForkSourceSession { getSessionFile(): string | undefined; getLeafId(): string | null; getBranch(fromId?: string): SessionEntry[]; } export declare function describeCurrentPiSessionFork(source: ForkSourceSession): WorkerForkSource; export declare class NodePiSessionForker implements PiSessionForker { fork(input: PiSessionForkInput): Promise; } //# sourceMappingURL=pi-session-fork.d.ts.map