import type { EngineRunOptions } from "./engine.js"; export interface PiSession { dir: string; file?: string; id?: string; text: string; } export declare function preparePiSession(opts: EngineRunOptions): Promise; export declare function piSessionHandle(session: PiSession, state: Record): string;