import { type ImportFormat, type SubtleAlgorithm, type KeyUsage, CryptoKey, type AnyAlgorithm, type JWK, type CryptoKeyPair, type EncryptDecryptParams } from './keys'; import { type BufferLike, type BinaryLike } from './Utils'; export declare class Subtle { decrypt(algorithm: EncryptDecryptParams, key: CryptoKey, data: BufferLike): Promise; digest(algorithm: SubtleAlgorithm | AnyAlgorithm, data: BufferLike): Promise; deriveBits(algorithm: SubtleAlgorithm, baseKey: CryptoKey, length: number): Promise; encrypt(algorithm: EncryptDecryptParams, key: CryptoKey, data: BufferLike): Promise; exportKey(format: ImportFormat, key: CryptoKey): Promise; generateKey(algorithm: SubtleAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise; importKey(format: ImportFormat, data: BufferLike | BinaryLike | JWK, algorithm: SubtleAlgorithm | AnyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise; sign(algorithm: SubtleAlgorithm, key: CryptoKey, data: BufferLike): Promise; verify(algorithm: SubtleAlgorithm, key: CryptoKey, signature: BufferLike, data: BufferLike): Promise; } export declare const subtle: Subtle; //# sourceMappingURL=subtle.d.ts.map