import { JWK } from "jose"; import { JWTPayload, JWTHeader } from "did-jwt"; import { DIDDocument, Resolver, VerificationMethod, DIDResolutionResult } from "did-resolver"; import { AxiosResponse } from "axios"; import { DidAuthRequestPayload, InternalVerification } from "../interfaces/DIDAuth.types"; export declare const prefixWith0x: (key: string) => string; declare const base64urlEncodeBuffer: (buf: { toString: (arg0: "base64") => string; }) => string; declare function getNonce(input: string): string; declare function getState(): string; declare function getHexPrivateKey(key: JWK): string; declare function getDIDFromKey(key: JWK): string; declare function doPostCallWithToken(url: string, data: unknown, token: string): Promise; declare const getAudience: (jwt: string) => string | undefined; declare const getIssuerDid: (jwt: string) => string; declare const parseJWT: (jwt: string) => { payload: JWTPayload; header: JWTHeader; }; declare const getNetworkFromDid: (did: string) => string; declare const resolveDid: (did: string, didUrlResolver: string) => Promise; declare const getUrlResolver: (jwt: string, internalVerification: InternalVerification) => Promise; declare const hasJwksUri: (payload: DidAuthRequestPayload) => boolean; declare const DidMatchFromJwksUri: (payload: DidAuthRequestPayload, issuerDid: string) => boolean; declare const getVerificationMethod: (kid: string, didDoc: DIDDocument) => VerificationMethod; declare const extractPublicKeyJwk: (vm: VerificationMethod) => JWK; declare const extractPublicKeyBytes: (vm: VerificationMethod) => string | { x: string; y: string; }; declare const verifySignatureFromVerificationMethod: (jwt: string, verificationMethod: VerificationMethod) => Promise; export { getNonce, getState, hasJwksUri, getAudience, getIssuerDid, parseJWT, getDIDFromKey, getUrlResolver, getHexPrivateKey, DidMatchFromJwksUri, doPostCallWithToken, base64urlEncodeBuffer, getVerificationMethod, verifySignatureFromVerificationMethod, getNetworkFromDid, extractPublicKeyBytes, extractPublicKeyJwk, resolveDid, };