import type { AuthorizationModel } from '../types/message-types.js';
import type { DidResolver } from '@enbox/dids';
import type { GeneralJws } from '../types/jws-types.js';
/**
 * Verifies all the signature(s) within the authorization property.
 * If an attestation JWS is provided, its signatures are also cryptographically verified.
 *
 * @throws {Error} if fails authentication
 */
export declare function authenticate(authorizationModel: AuthorizationModel | undefined, didResolver: DidResolver, attestation?: GeneralJws): Promise<void>;
//# sourceMappingURL=auth.d.ts.map