import { Context } from "../context"; import { Key, PrivateKey, PublicKey, SecretStorage } from "../types"; import { KeyType } from "./keytypes"; export declare function getKeys(context: Context, params: { keyType: KeyType; }): Promise; export declare function getPublicKey(context: Context, params: { key: Key; passphrase: string; keyType: KeyType; }): Promise; export declare function importRaw(context: Context, params: { privateKey: PrivateKey; passphrase?: string; keyType: KeyType; meta?: string; }): Promise; export declare function exportKey(context: Context, params: { key: Key; passphrase: string; keyType: KeyType; }): Promise; export declare function importKey(context: Context, params: { secret: SecretStorage; passphrase: string; keyType: KeyType; }): Promise; export declare function createKey(context: Context, params: { passphrase?: string; keyType: KeyType; meta?: string; }): Promise; export declare function keyFromPublicKey(type: KeyType, publicKey: PublicKey): Key; export declare function deleteKey(context: Context, params: { key: Key; keyType: KeyType; }): Promise; export declare function exportRawKey(context: Context, params: { key: Key; passphrase: string; keyType: KeyType; }): Promise; export declare function sign(context: Context, params: { key: Key; message: string; passphrase: string; keyType: KeyType; }): Promise; export declare function getMeta(context: Context, params: { key: Key; keyType: KeyType; }): Promise; export declare function save(context: Context, params: { keyType: KeyType; }): Promise; export declare function load(context: Context, value: SecretStorage[], params: { keyType: KeyType; }): Promise; export declare function clear(context: Context, params: { keyType: KeyType; }): Promise;