import { type Run } from "../runtime/asyncContext.js"; import type { EvalRecord, EvalValue } from "../eval/types.js"; /** Rejects an invalid name even outside an Agency frame, so a bad name is a * bug at the call site rather than a trace that silently cannot be grouped. */ export declare function _setAgentName(name: string): Promise; /** Whether this run's statelog records anything. False when `observability` * is off, which makes every statelog client a no-op, and outside an Agency * frame. */ export declare function _isLogging(): boolean; export declare function _evalValue(value: unknown): Promise; /** The REPLs log a turn for every line a person submits, except a slash * command, which is an instruction to the program and not a message. A * test's stub client may have no `turnStart`, as `ThreadStore` allows for * its thread events. */ export declare function logReplTurn(run: Run, line: string): Promise; /** Logs `turnStart`; a no-op outside an Agency frame, like the eval events. */ export declare function _turnStart(message: string): Promise; /** Posts a `debug` event, the generic statelog event for anything a * module wants on the record; a no-op outside an Agency frame. */ export declare function _debug(message: string, data: unknown): Promise; export declare function _evalOutput(value: unknown): Promise; export declare function _evalRecord(statelogPath: string, allowedPaths?: string[]): Promise; export declare function _evalValues(statelogPath: string, allowedPaths?: string[]): Promise; export declare function _evalOutputs(statelogPath: string, allowedPaths?: string[]): Promise; export declare function _finalEvalOutput(statelogPath: string, allowedPaths?: string[]): Promise;