import type { JsonValue } from '../types.js'; import type { DecisionPatternId, DecisionPatternPack, LivePatternLimits, LivePatternPlan, LivePatternReceipt, LivePatternRequest, LivePatternTransport, PatternReceipt } from './types.js'; export declare function listDecisionPatterns(): Array>; /** Validate a pack manifest. Results are memoized by the validated content (fixture expectations are not validated). */ export declare function validateDecisionPattern(pack: DecisionPatternPack): string[]; export interface OfflinePatternOverrides { /** Replacement sanitized recorded answers, replayed through the same runtime. */ recordedEvidence?: Record; /** Replacement synthetic input. It is still validated by the governed ruleset. */ input?: Record; } /** * Run one offline fixture through the production decision runtime: the governed * definitions, ruleset and offline binding are evaluated by `evaluateDecisionRuleset` * with the production Jev adapter over a recorded-replay transport. Deterministic * gates declared in the pack's candidate policy may only narrow the outcome. */ export declare function runOfflineDecisionPattern(id: DecisionPatternId, fixtureId?: string, overrides?: OfflinePatternOverrides): Promise; export declare function planLiveDecisionPattern(id: DecisionPatternId, options: { explicitOptIn: boolean; credentialResolved: boolean; egressApproved: boolean; }): LivePatternPlan; /** * Execute one explicitly approved synthetic live probe through the production * evaluator and Jev adapter. Pack limits become a scheduler admission policy, so * every transport call is admitted before it starts: a call that would exceed the * call, token or cost reservation is never started, unknown cost is never admitted, * and the deadline aborts the in-flight transport through the evaluator's signal. */ export declare function runLiveDecisionPattern(id: DecisionPatternId, request: LivePatternRequest, options: { explicitOptIn: boolean; credentialResolved: boolean; egressApproved: boolean; limits?: Partial; }, transport: LivePatternTransport): Promise; //# sourceMappingURL=playground.d.ts.map