@agnostack/verifyd
Version:
Please contact agnoStack via info@agnostack.com for any questions
21 lines • 724 B
TypeScript
import { KeyPairs, RequestParams } from './types';
export declare const generateStorableKeyPairs: ({ crypto: _crypto, util: _util }?: {
crypto?: unknown;
util?: unknown;
}) => Promise<{}>;
export declare const getVerificationHelpers: ({ keyPairs, util: _util, crypto: _crypto, DISABLE_RECRYPTION, }?: {
keyPairs: KeyPairs;
crypto?: unknown;
util?: unknown;
DISABLE_RECRYPTION?: string | undefined;
}) => (req: {
url?: string;
method?: string;
rawBody?: string;
headers?: Record<string, string>;
}, params?: RequestParams) => Promise<{
rawBody: any;
requestBody: any;
processResponse: (response?: unknown) => Promise<unknown>;
}>;
//# sourceMappingURL=verification.d.ts.map