import { TCryptoUtilKeyExportFormatType, TCryptoUtilKeypairExportFormatType, TCryptoUtilKeypairImportFormatType, TCryptoUtilEncryptKeyTypes } from './crypto-utils.types'; import { TCryptoUtilKeypairPreImportFormatType } from './crypto-utils.types'; export declare const isCryptoKeyPairImported: (key: any, checkPrivateKey?: boolean) => key is TCryptoUtilKeypairExportFormatType; export declare const generateKeyPair: () => PromiseLike; export declare const exportKey: (key: CryptoKey) => PromiseLike; export declare const exportKeyAsString: (key: CryptoKey) => Promise; export declare const exportPublicKey: (keyPair: CryptoKeyPair) => Promise; export declare const exportPublicKeyAsString: (keyPair: CryptoKeyPair) => Promise; export declare const exportKeyPair: (keyPair: CryptoKeyPair, password?: string | undefined) => Promise; export declare const exportKeyPairAsString: (keyPair: CryptoKeyPair, password?: string | undefined) => Promise; export declare const importKey: (key: object, isPublic?: boolean) => PromiseLike; export declare const importPublicKey: (key: object) => PromiseLike; export declare const importPrivateKey: (key: object) => PromiseLike; export declare const importKeyPair: (keyPair: TCryptoUtilKeypairPreImportFormatType, checkPrivateKey?: boolean) => Promise; export declare const importKeyPairFromString: (keyPairString: string, password?: string | undefined) => Promise; export declare const importKeyFromString: (keyString: string, isPublic?: boolean) => PromiseLike | Error; export declare const importPublicKeyFromString: (key: string) => PromiseLike | Error; export declare const importPrivateKeyFromString: (key: string) => PromiseLike | Error; export declare const checkIfStringIsKeyPair: (keyString: string) => boolean; export declare const getKeyOfType: (key: TCryptoUtilEncryptKeyTypes, type: KeyType) => Promise;