import { B as BcraDeudaAdapter, e as BcraDeudaResult, a as BcraVarsAdapter, i as BcraVariable, j as BcraVariableDatapoint, h as BcraSituation } from './bcra-vars-BhphcVkm.js'; /** * `@ar-agents/banking/testing` — fixtures + mock BCRA adapters for tests. * * What you get: * * - **`MockBcraDeudaAdapter`** — drop-in for `BcraDeudaAdapter`. Seed CUIT * → BcraDeudaResult mappings; `.calls` records every lookup. * * - **`MockBcraVarsAdapter`** — drop-in for `BcraVarsAdapter`. Seed the * variable catalog + per-variable time series. * * - **Factories** for the result shapes: `mockBcraDeudaClean` (al día), * `mockBcraDeudaRiesgo` (situation 2-6), `mockBcraDeudaUnavailable`, * plus `mockBcraVariable`, `mockUsdOficialSeries`, `mockCerSeries`. * * The 4 algorithm-only banking tools (`validate_cbu`, `lookup_bank_by_code`, * `list_banks`, `list_psps`) don't need mocks — they're pure functions. */ /** Clean record — taxpayer al día, situation 1, low debt. */ declare function mockBcraDeudaClean(overrides?: { cuit?: string; name?: string; totalAmount?: number; }): BcraDeudaResult; /** Risky record — situation N (default 3 — riesgo medio). */ declare function mockBcraDeudaRiesgo(args?: { cuit?: string; name?: string; situation?: BcraSituation; daysOverdue?: number; amount?: number; }): BcraDeudaResult; /** No record / service down. */ declare function mockBcraDeudaUnavailable(cuit?: string, reason?: string): BcraDeudaResult; declare class MockBcraDeudaAdapter implements BcraDeudaAdapter { private readonly store; /** Append-only log of every lookup call. */ readonly calls: string[]; seed(cuit: string, result: BcraDeudaResult): this; seedMany(entries: Record): this; reset(): this; clear(): this; lookup(cuit: string): Promise; } /** A single time-series datapoint. */ declare function mockBcraDatapoint(date: string, value: number): BcraVariableDatapoint; /** A flat "USD oficial = N today" series. */ declare function mockUsdOficialSeries(value?: number): BcraVariableDatapoint[]; /** A 30-day CER series with monthly inflation rate `growth` (default 5%). */ declare function mockCerSeries(start?: number, growth?: number, days?: number): BcraVariableDatapoint[]; declare class MockBcraVarsAdapter implements BcraVarsAdapter { private variables; private series; readonly calls: Array<{ method: "list" | "series"; idVariable?: number; }>; setVariables(vs: BcraVariable[]): this; seedSeries(idVariable: number, points: BcraVariableDatapoint[]): this; reset(): this; listVariables(): Promise; getVariable(idVariable: number): Promise; } export { MockBcraDeudaAdapter, MockBcraVarsAdapter, mockBcraDatapoint, mockBcraDeudaClean, mockBcraDeudaRiesgo, mockBcraDeudaUnavailable, mockCerSeries, mockUsdOficialSeries };