export interface LegacyKeystoreData {
    version: 1;
    crypto: {
        cipher: string;
        cipherparams: {
            iv: string;
        };
        ciphertext: string;
        kdf: 'pbkdf2';
        kdfparams: {
            c: number;
            prf: string;
            dklen: number;
            salt: string;
        };
        mac: string;
    };
}
export declare class LegacyKeystore {
    private readonly keystoreData;
    private _derivedKey;
    constructor(keystoreData: LegacyKeystoreData);
    checkPassword(password: string): Promise<boolean>;
    private deriveKey;
    decrypt(password: string): Promise<Uint8Array>;
    static isKeystore(obj: object): boolean;
}
