/**
 * olam memory reclassify — operator wrapper over the bridge
 * `/classify/cache-bust` endpoint (Phase B5). Two modes:
 *
 *   $ olam memory reclassify --content-hash=sha256:abc...
 *     # bust one cache entry by content hash
 *
 *   $ olam memory reclassify --since-version=haiku-v1+prompt-v1
 *     # bulk bust by classifier_version (operator-side after a
 *     # prompt-template change)
 *
 *   $ olam memory reclassify --content-hash=sha256:abc... --dry-run
 *     # show what would be busted without calling the bridge
 *
 * Config (env vars):
 *   AGENTMEMORY_BRIDGE_URL    bridge base URL
 *                             (default: https://olam-agent-memory.ernestcodes.workers.dev)
 *   AGENTMEMORY_BRIDGE_SECRET bearer token
 *
 * Plan reference:
 *   docs/plans/agentmemory-classifier-and-regret/phase-b-tasks.md B5
 *   (Originally bundled into B5; carved out as B5.1 because the
 *   bridge endpoint shipped in PR #612 + the CLI is convenience.)
 */
import type { Command } from 'commander';
export interface ReclassifyOptions {
    contentHash?: string;
    sinceVersion?: string;
    dryRun?: boolean;
    bridgeUrl?: string;
    bearer?: string;
    json?: boolean;
}
export interface ReclassifyResult {
    ok: boolean;
    busted: number;
    mode: 'hash' | 'version' | 'dry-run';
    memoryId?: string;
    error?: string;
}
/**
 * Validate that the operator supplied EXACTLY one of `--content-hash`
 * or `--since-version`. Returns a clean error string for any malformed
 * input. (Matches the bridge handler's validateCacheBustRequest contract
 * — operator-side errors fail loudly before any HTTP call.)
 */
export declare function validateReclassifyOptions(opts: ReclassifyOptions): string | null;
/**
 * Run the reclassify call. Pure-ish: takes opts + fetch (so tests can
 * stub) + returns a structured result.
 */
export declare function runReclassify(opts: ReclassifyOptions, fetchImpl?: typeof fetch): Promise<ReclassifyResult>;
/** Run + render. Returns the process exit code. */
export declare function runReclassifyCli(opts: ReclassifyOptions): Promise<number>;
export declare function registerMemoryReclassify(cmd: Command): void;
//# sourceMappingURL=reclassify.d.ts.map