import { Capability, InvocationContext } from "./model.mjs"; //#region src/zcap/verifier.d.ts declare class ChainVerificationError extends Error { constructor(message: string); } /** * Allow-or-throw gate for a single invocation. * * @param chain - `[invocationCap, parent, ..., root]` ordered child-to-root. * @param context - Runtime request properties. * @param resolvePublicKey - `verificationMethod -> 32-byte Ed25519 pub`. * @param trustedRootController - DID that owns the resource; chain * anchor's `controller` MUST equal this. */ declare function verify({ chain, context, resolvePublicKey, trustedRootController }: { chain: Capability[]; context: InvocationContext; resolvePublicKey: (verificationMethod: string) => Uint8Array; trustedRootController: string; }): void; //#endregion export { ChainVerificationError, verify }; //# sourceMappingURL=verifier.d.mts.map