import type { Platform } from "../../platform/web/Platform.js"; export type KeyDescriptionData = { algorithm: string; passphrase: { algorithm: string; iterations: number; salt: string; bits?: number; }; mac: string; iv: string; }; export declare class KeyDescription { private readonly _id; private readonly _keyDescription; constructor(id: string, keyDescription: KeyDescriptionData); get id(): string; get passphraseParams(): KeyDescriptionData["passphrase"]; get algorithm(): string; isCompatible(key: Key, platform: Platform): Promise; } export declare class Key { private readonly _keyDescription; private readonly _binaryKey; constructor(keyDescription: KeyDescription, binaryKey: Uint8Array); withDescription(description: KeyDescription): Key; get description(): KeyDescription; get id(): string; get binaryKey(): Uint8Array; get algorithm(): string; }