/** * @file The kryptonite mode: deliberately confusing addresses, one adversarial category at a time. * * The row budget is split across the categories by weight (`planKryptoniteBatches`), and each returned line is * checked against the surface-form invariant before it is written. * * A failed request leaves its batch pending. The Python worker marked it complete, so a rerun never asked for * that category's rows again. No row of such a batch was written. A truncated completion still completes its * batch, as in Python, because a kryptonite row's id includes its line position and a second request would * generate other rows. */ import { type KryptoniteBatch } from "#recipes/deepseek/batches"; import type { DeepSeekCompleter } from "#recipes/deepseek/client"; import { type DeepSeekSink, type DeepSeekWorker, type Tally } from "#recipes/deepseek/run"; import { type DeepSeekRequestOptions } from "#recipes/deepseek/transliteration"; /** * The kryptonite mode's own options. */ export interface KryptoniteOptions extends DeepSeekRequestOptions { /** * The total row budget across the categories. */ targetCount: number; } /** * The worker for one kryptonite batch. */ export declare function kryptoniteWorker(client: DeepSeekCompleter, options: DeepSeekRequestOptions, sink: DeepSeekSink): DeepSeekWorker; /** * Generates every planned kryptonite batch the checkpoint doesn't already hold. */ export declare function emitKryptonite(options: KryptoniteOptions, client: DeepSeekCompleter, sink: DeepSeekSink, checkpointPath: string): Promise; //# sourceMappingURL=kryptonite.d.ts.map