import { IAddressCodec } from "./address-codec"; interface IKeyPair { privateKey: string; publicKey: string; } export interface IKeyPairFactory { deriveKeyPair: (seed: string, algorithm?: string) => IKeyPair; isValidSecret: (secret: string) => boolean; isValidAddress: (address: string) => boolean; deriveAddress: (pk: string) => string; generate: (options: any) => { secret: string; address: string; }; fromSecret: (secret: string, algorithm?: string) => { secret: string; address: string; }; addressCodec: IAddressCodec; hash: (message: string) => Uint8Array; sign: (message: string, privateKey: string) => string; verify: (message: string, signature: string, publicKey: string) => boolean; } declare const Factory: (alphabet: any) => IKeyPairFactory; export { Factory };