/**
 * @module crypto-utils
 * Local crypto utilities (non-IP, safe for npm distribution).
 *
 * These are NOT proprietary - just standard Web Crypto API wrappers.
 * The proprietary XorIDA algorithm is vault-gated via vault-store-loader.ts.
 */
/** Convert Uint8Array to Base64 string */
export declare function toBase64(data: Uint8Array): string;
/** Convert Base64 string to Uint8Array */
export declare function fromBase64(base64: string): Uint8Array;
/** Convert Uint8Array to Base64URL string (URL-safe) */
export declare function toBase64Url(data: Uint8Array): string;
/** Convert Base64URL string to Uint8Array */
export declare function fromBase64Url(base64url: string): Uint8Array;
/** Generate a UUID v4 (random) */
export declare function generateUUID(): string;
/**
 * Wrap share data with branded IDA5 copyright header.
 * @param data - Base64-encoded share data
 * @returns Branded string with copyright header
 */
export declare function formatShareHeader(data: string): string;
/**
 * Extract share data from branded IDA5 header.
 * @param input - Branded share string or legacy raw data
 * @returns Extracted share data
 */
export declare function parseShareHeader(input: string): string;
/** Check if string has branded IDA5 share header */
export declare function hasShareHeader(input: string): boolean;
/**
 * Vendored crypto functions from @private.me/crypto package.
 * Direct imports - no dynamic loading or payment gating.
 */
import { splitXorIDA as _splitXorIDA, reconstructXorIDA as _reconstructXorIDA, nextOddPrime as _nextOddPrime, pkcs7Pad as _pkcs7Pad, pkcs7Unpad as _pkcs7Unpad, generateHMAC as _generateHMAC, verifyHMAC as _verifyHMAC } from './_deps/crypto/index.js';
export declare const splitXorIDA: typeof _splitXorIDA;
export declare const reconstructXorIDA: typeof _reconstructXorIDA;
export declare const nextOddPrime: typeof _nextOddPrime;
export declare const pkcs7Pad: typeof _pkcs7Pad;
export declare const pkcs7Unpad: typeof _pkcs7Unpad;
export declare const generateHMAC: typeof _generateHMAC;
export declare const verifyHMAC: typeof _verifyHMAC;
