import { JWK } from './key'; import { ResolverOrOptions } from '@kaytrust/prooftypes'; import { VerifyPresentationOptions, VerifyCredentialOptions } from 'did-jwt-vc'; import { JWTVerifyOptions } from 'did-jwt'; import { SupportedDid } from './issuer'; export { type SupportedDid } from './issuer'; export type SignOptions = { jwk?: JWK; privateKey?: string; }; type CreateJwtOptions = { typ?: string; audience?: string; headers?: Record; is_presentation?: boolean; no_vc_vp?: boolean; }; type CreateJwtVcOptions = Omit; export declare const createJWTVc: (didMethod: SupportedDid, signOptions: SignOptions, payload?: Record, options?: CreateJwtVcOptions) => Promise; export declare const createJWT: (didMethod: SupportedDid, signOptions: SignOptions, payload?: Record, { audience, typ, is_presentation, no_vc_vp }?: Partial) => Promise; export declare const verifyJWTFromVp: (jwt: string, resolver: ResolverOrOptions, audience: string, options?: VerifyPresentationOptions) => Promise; export declare const verifyJWTFromVc: (jwt: string, resolver: ResolverOrOptions, options?: VerifyCredentialOptions) => Promise; export declare function extractDidFromHeaderKid(kid: string): string; export declare const verifyJwtProof: (jwt: string, { resolver, audience }?: Pick) => Promise;