import { type Stats } from "node:fs"; import { type CommandSpec } from "../internals/plan.js"; export declare const MAX_LIVE_PROMPT_BYTES: number; export declare const LIVE_PROCESS_OPTION = "__liveProcess"; /** Strict UTF-8 prompt read that preserves every decoded character and rejects file races. */ export interface LivePromptFileSeam { lstat: (path: string) => Stats; open: (path: string, flags: string) => number; fstat: (descriptor: number) => Stats; read: (descriptor: number, buffer: Buffer, offset: number, length: number, position: number) => number; close: (descriptor: number) => void; } export declare function readLivePromptFile(root: string, supplied: unknown, file?: LivePromptFileSeam): string; export declare const command: CommandSpec;