export const DEFAULT_SEED_SIZE: number;
export function hmac(message: Uint8Array, key: Uint8Array): Uint8Array;
export function getHKDF(ikm: Uint8Array, info: Uint8Array, extractLen: number, salt?: Uint8Array | undefined): Uint8Array;
export function getSeed(size?: number | undefined): Uint8Array;
export function deriveSigningKeysFromSeed(seed: Uint8Array, salt?: Uint8Array | undefined): {
    secretKey: Uint8Array;
    publicKey: Uint8Array;
};
export function uint8ToHex(arr: Uint8Array | Buffer): string;
export function hexToUint8(hex?: string | undefined): Uint8Array;
export namespace passphrase {
    function fromBytesOrHex(bytes: Uint8Array | Buffer | string, useNiceware?: boolean | undefined): string;
    function toBytes32(passphrase: string): Uint8Array;
    function toHex32(passphrase: string): string;
    let NICEWARE_32_BYTE_WORD_COUNT: number;
    let BIP39_32_BYTE_WORD_COUNT: number;
}
export namespace random {
    function uniform(n: number): number;
    function uniform_01(): number;
}
export function ed25519HttpSign(keyId: string, secretKey: string, headers?: HeaderLike): string;
export function ed25519HttpVerify(publicKey: string, headers?: HeaderLike): {
    algorithm: string;
    headers: string[];
    keyId: string;
    signature: string;
    verified: boolean;
};
/**
 * A dictionary of header values, i.e '{ 'header-name': 'header-value' }'
 */
export type HeaderLike = {
    [x: string]: (string | string[] | undefined);
};
