///
import { ResultAsync, Result } from "neverthrow";
import { KeystoreT } from "./_types";
import { SecureRandom } from "../../util/index";
import { ScryptParamsT } from "../key-derivation-functions/index";
export declare const Keystore: {
fromBuffer: (keystoreBuffer: Buffer) => Result;
decrypt: (input: Readonly<{
keystore: KeystoreT;
password: string;
}>) => ResultAsync;
validatePassword: (password: string) => Result;
encryptSecret: (input: Readonly<{
secret: Buffer;
password: string;
memo?: string;
kdf?: string;
kdfParams?: ScryptParamsT;
secureRandom?: SecureRandom;
}>) => ResultAsync;
};
//# sourceMappingURL=keystore.d.ts.map