import type { ByteSource, IOResult } from '../io/types.ts';
import type { JobConsole } from '../shell/console/index.ts';
import type { TSNodeLike } from '../shell/types.ts';
export type ProcessSubLine = (text: string, options?: {
    stdin?: ByteSource | null;
    sink?: JobConsole;
    signal?: AbortSignal;
}) => Promise<IOResult>;
/** Temporary state of one evaluation; never part of a session record. */
export declare class ExecutionFrame {
    diagnostics: (string | Uint8Array)[];
    cmdsubSeq: number;
    cmdsubStatus: number;
    processSub: ((node: TSNodeLike, executeLine: ProcessSubLine) => Promise<string>) | null;
    abortSignal: AbortSignal | null;
    lineTimeout: number | null;
    fork(): ExecutionFrame;
}
//# sourceMappingURL=frame.d.ts.map