import { Buffer } from "node:buffer"; import { Ed25519KeyIdentity } from "@icp-sdk/core/identity"; import { Secp256k1KeyIdentity } from "@icp-sdk/core/identity/secp256k1"; export declare function decodeFile(file: string, password?: string): Ed25519KeyIdentity | Secp256k1KeyIdentity; export declare function decodePem(rawKey: Buffer | string): Ed25519KeyIdentity | Secp256k1KeyIdentity; export declare function encrypt(buffer: Buffer, password: string): Buffer;