import type { Delegation } from '../../types/passport.js'; import type { IdJagClaims, VerifiedIdJagGrant, IdJagVerification, IdJagDescriptor, IdJagBindOptions } from './types.js'; export * from './types.js'; /** * Wrap a decoded grant the caller asserts it has verified. The only constructor * for VerifiedIdJagGrant, so an unverified grant cannot reach bindIdJagGrant. */ export declare function verifiedIdJagGrant(grant: IdJagClaims, verification: IdJagVerification): VerifiedIdJagGrant; /** * Bind a caller-verified ID-JAG grant to an APS descriptor. Pure projection: it * signs the caller verification attestation and computes the two anchors, but it * makes no allow or deny decision, checks no signature on the grant, fetches * nothing, and invents no spend unit. The chain is the APS-signed hops the caller * built under the grant; this records them and hashes their content. * * Throws IdJagBindingError 'missing_required_claim' on an absent required claim, * or 'missing_verified_at' when no verifiedAt is supplied (it anchors the signed * attestation). */ export declare function bindIdJagGrant(verified: VerifiedIdJagGrant, chain: Delegation[], callerPrivateKey: string, options?: IdJagBindOptions): IdJagDescriptor; //# sourceMappingURL=index.d.ts.map