import type { IVerifiablePresentation } from '@interop/data-integrity-core'; import type { IVPRDetails } from './walletRequestTypes.js'; /** * The default CHAPI mediator base; the requesting origin is appended at load. */ export declare const DEFAULT_MEDIATOR_BASE = "https://authn.io/mediator?origin="; /** * Loads the CHAPI polyfill once (no-op under the e2e bridge). * * @param [options] {object} * @param [options.mediatorBase] {string} the mediator base URL (defaults to * `DEFAULT_MEDIATOR_BASE`) * @returns {Promise} */ export declare function loadChapi({ mediatorBase }?: { mediatorBase?: string; }): Promise; /** * Sends a VPR to the user's wallet via CHAPI `credentials.get()`. Returns the * wallet's response VP, or `null` when the user cancelled/dismissed. * * @param options {object} * @param options.vpr {IVPRDetails} * @param [options.mediatorBase] {string} * @returns {Promise} */ export declare function chapiGet({ vpr, mediatorBase }: { vpr: IVPRDetails; mediatorBase?: string; }): Promise; //# sourceMappingURL=chapi.d.ts.map