import type { filesShownOf } from "../core/existing-target.js";
import type { AgentTool } from "../internal/harness-types.js";
import type { RunLedger, RunLedgerBook } from "../core/run-ledger.js";
export declare const SEND_USER_MESSAGE_TOOL_NAME = "SendUserMessage";
export interface SendUserMessageSeats {
    /** The run's ledger book. */
    readonly book: RunLedgerBook;
    /** Record the ledger snapshot a delivery carries in the run's session log (best effort: a failed write does not refuse the
     *  delivery — the snapshot still rides the call's result). */
    readonly record: (ledger: RunLedger) => Promise<void>;
    /** The leg's reading of the files a report shows (`filesShownOf` over the leg's served-read judge, file reader and roster).
     *  Absent (a tool built outside a Runner's leg): a report that names a file is refused. */
    readonly show?: (paths: readonly string[], signal?: AbortSignal) => ReturnType<typeof filesShownOf>;
}
/** One file a delivered report names, as the card carries it: the key it was judged and held at, its size and whether it is an
 *  image the model's reader takes (the one reading of that, `imageMimeForRead`). Never its bytes. */
export interface SendUserMessageAttachment {
    readonly path: string;
    readonly size: number;
    readonly isImage: boolean;
    readonly pathValidated: true;
}
/** Build the report tool over the run's book. */
export declare function createSendUserMessageTool(seats: SendUserMessageSeats): AgentTool;
