/** * Crypto adapter, runtime-neutral interface for PKCE and random-bytes * operations used by oauth-core.ts. * * This file uses the Web Crypto API (globalThis.crypto), which is available * in React Native (Hermes / JavaScriptCore), modern browsers, and Node >= 19. * * API: * createSha256Hash(input: string): Promise , returns base64url digest * randomBytesBase64url(n: number): string , returns n random bytes as base64url */ /** * Compute SHA-256 of `input` and return the result as a base64url string. * Uses Web Crypto API, safe in React Native, browser, and modern Node. */ export declare function createSha256Hash(input: string): Promise; /** * Generate `n` cryptographically random bytes and return as base64url. * Uses Web Crypto API, safe in React Native, browser, and modern Node. */ export declare function randomBytesBase64url(n: number): string; //# sourceMappingURL=crypto-adapter.d.ts.map