import { $ as RuleBundleRejectionCode, A as IsotonicCurve, B as ProxyInfo, C as EngineInfo, D as HttpSignedRequest, E as FeedDemandReason, H as RedirectTarget, I as NetworkContext, L as NoisyOrShadowMode, M as KeyType, N as McpIPayload, O as InstructPayload, P as McpIRequest, Q as RuleBundleRejected, R as PlainHttpRequest, S as EngineConfig, T as FeedAttemptOutcome, V as ProxyType, W as ReinstateOutcome, X as RoutingType, Y as RootNeedsResult, Z as RuleBundleApplied, _ as DelegationVerifyInput, a as AgentCard, at as Tier1PolicyMode, c as BehaviouralSignals, ct as VendorKeyFeedKeyStatus, d as ChallengeParams, dt as VendorKeyMissReason, et as RuleBundleReport, f as ClientIntegrityInput, ft as VerificationMethod, g as Decision, h as ContextSpec, i as AdoptedVendorKeys, it as SuggestedAction, j as KeySetOutcome, k as IpReputation, l as BlockReason, lt as VendorKeyFeedStatus, m as ClientSignals, mt as StatusListVerification, n as A2PRequest, nt as SignalsEnvelope, o as AgentCardSecurityScheme, ot as Tier3Action, p as ClientSignalAttribute, pt as VerifyResult, r as AdoptedVendorKey, rt as StabilityTier, s as AgentRequest, st as TransportSignals, t as A2ARequest, tt as SessionVelocitySignal, u as CalibrationCurve, v as DetectionDetail, x as EnforcementMode, y as DidDocument, z as PlattCurve } from "./types-BZXvyqcb.mjs"; import { a as EngineRenderErrorCode, i as EngineRenderError, n as EngineManifest, o as EngineRenderOptions, r as EngineRenderEnvelope, s as EngineRenderedResponse, t as EngineCapability } from "./render-types-CPBSWMXR.mjs"; //#region src/engine/index.d.ts /** * Verify an AgentRequest synchronously against a pre-fetched * [`ContextSpec`]. * * @throws {Error} if the WASM glue rejects the input (deserialisation * failure) or the engine returns a `VerifyError` (resolver / * status-list / reputation / policy infrastructure failure). Engine * *verdicts* (Block / Challenge / etc.) DO NOT throw — they surface * inside the returned [`VerifyResult`]. */ export declare function engineVerify(input: AgentRequest, ctx: ContextSpec): VerifyResult; /** * Verify a standalone delegation credential (VC-JWT) with **no request * signature** — the `Authorization: Bearer ` path, * `draft-kya-http-02` §4.3. The credential is passed explicitly (the engine * reads no transport header); the resource server's own org DID rides on * `ctx.resourceOrgDid`. Same throw semantics as [`engineVerify`]. */ export declare function engineVerifyDelegation(input: DelegationVerifyInput, ctx: ContextSpec): VerifyResult; /** * Render the kya-os/http answer (status, ordered headers, body) for a * `VerifyResult`, in the engine. Same output on every runtime; see * `rust/crates/kya-os-engine/src/render`. * * @throws {EngineRenderError} when the registered challenge context fails * validation (same codes as `ChallengeWireError`). */ export declare function engineRender(result: VerifyResult, options?: EngineRenderOptions): EngineRenderedResponse; /** This engine build's capability manifest. */ export declare function engineInfo(): EngineManifest; /** * Verify a fetched status list against its issuer's DID document, in the * engine (`verify_status_list`, design §3.5). `requestJson` is * `{ envelope: , url, issuer, didDocument: | null, * nowUnix }`. Never throws: a rejection is `{ ok: false, code, message }`. */ export declare function engineVerifyStatusList(requestJson: string): StatusListVerification; /** * The DID-document needs of the trusted roots in `contextJson` (only * `trustedDelegationRoots` is read), which a host that warms a cache * registers at startup. Never throws: bad input is `{ error }`. */ export declare function engineRootNeeds(contextJson: string): RootNeedsResult; export declare function engineApplyRuleBundle(bundleJson: string, nowUnix: number): RuleBundleReport; export declare function engineFeedDemand(nowUnix: number): FeedDemandReason | undefined; export declare function engineFeedAttemptFinished(outcome: FeedAttemptOutcome): boolean; export declare function engineFeedStatus(nowUnix: number): VendorKeyFeedStatus | null; export declare function engineFeedNoteMiss(keyid: string, reason: VendorKeyMissReason): boolean; export declare function engineVendorKeys(): AdoptedVendorKeys; //#endregion export { type A2ARequest, type A2PRequest, type AdoptedVendorKey, type AdoptedVendorKeys, type AgentCard, type AgentCardSecurityScheme, type AgentRequest, type BehaviouralSignals, type BlockReason, type CalibrationCurve, type ChallengeParams, type ClientIntegrityInput, type ClientSignalAttribute, type ClientSignals, type ContextSpec, type Decision, type DelegationVerifyInput, type DetectionDetail, type DidDocument, type EnforcementMode, type EngineCapability, type EngineConfig, type EngineInfo, type EngineManifest, type EngineRenderEnvelope, EngineRenderError, type EngineRenderErrorCode, type EngineRenderOptions, type EngineRenderedResponse, type FeedAttemptOutcome, type FeedDemandReason, type HttpSignedRequest, type InstructPayload, type IpReputation, type IsotonicCurve, type KeySetOutcome, type KeyType, type McpIPayload, type McpIRequest, type NetworkContext, type NoisyOrShadowMode, type PlainHttpRequest, type PlattCurve, type ProxyInfo, type ProxyType, type RedirectTarget, type ReinstateOutcome, type RoutingType, type RuleBundleApplied, type RuleBundleRejected, type RuleBundleRejectionCode, type RuleBundleReport, type SessionVelocitySignal, type SignalsEnvelope, type StabilityTier, type SuggestedAction, type Tier1PolicyMode, type Tier3Action, type TransportSignals, type VendorKeyFeedKeyStatus, type VendorKeyFeedStatus, type VendorKeyMissReason, type VerificationMethod, type VerifyResult }; //# sourceMappingURL=engine.d.mts.map