/**
 * /replay command handler.
 *
 * Handles the subcommands of the /replay slash command:
 *   /replay load <runId>     — load a recorded run by ID
 *   /replay step [n]         — advance n steps (default 1)
 *   /replay seek <rev>       — jump to a specific revision
 *   /replay diff             — run diff mode and report mismatches
 *   /replay export <path>    — export replay report to a JSON file
 *
 * The handler delegates to an injected `DeterministicReplayEngine`
 * and an optional ledger reader for run access.
 *
 * Returns a human-readable result string to display in the conversation.
 */
import type { DeterministicReplayEngine } from './deterministic-replay.js';
export interface ReplayCommandResult {
    /** Human-readable output to show the user. */
    output: string;
    /** Whether the command succeeded. */
    ok: boolean;
}
export interface ReplayCommandDeps {
    replayEngine: DeterministicReplayEngine;
}
/**
 * Dispatch a parsed /replay subcommand.
 *
 * @param subcommand - The first word after /replay (e.g. 'load', 'step').
 * @param args       - Remaining tokens.
 * @param ledger     - Optional ledger reader for 'load'. When omitted, the
 *                     handler reports that no ledger is configured.
 */
export declare function handleReplayCommand(deps: ReplayCommandDeps, subcommand: string, args: string[], ledger?: {
    readRunEntries: (runId: string) => import('../runtime/telemetry/exporters/local-ledger.js').LedgerEntry[];
    listRunIds: () => string[];
}): ReplayCommandResult;
//# sourceMappingURL=replay-command-handler.d.ts.map