import * as hash from './hash.js'; import * as internal from './instantiate.js'; type Algorithm = 'keccak256' | 'ripemd160' | 'sha256'; type StateExports = { [key in `${Algorithm}_init`]: (state: number) => void; } & { [key in `${Algorithm}_update`]: (state: number, input: number, inputLength: number) => void; } & { [key in `${Algorithm}_finalize`]: (state: number, out: number) => void; }; /** Exports shared by the Hash and Keystore providers. @internal */ export type Exports = hash.Exports & hash.StateExports & StateExports & { keccak256(input: number, length: number, out: number): void; pbkdf2_sha256(password: number, passwordLength: number, salt: number, saltLength: number, iterations: number, out: number, outLength: number, scratch: number): void; ripemd160(input: number, length: number, out: number): void; sha256(input: number, length: number, out: number): void; }; /** Returns the one memoized hashes instance shared by its provider modules. */ export declare function load(): Promise>; /** Creates an incremental state for one of the shared hash primitives. @internal */ export declare function create(module: internal.Module, hash: Algorithm): import("../Engine.js").HashState; export {}; //# sourceMappingURL=hashes.d.ts.map