import { ErrorUnion, OkUnion } from '../outputs'; /** * Changes the database encryption key. Usually the encryption key is never changed * and is stored in some OS keychain * @param {Object} params * @param {string} [params.newEncryptionKey] - New encryption key * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type SetDatabaseEncryptionKeyMethod = (params: SetDatabaseEncryptionKeyParams, state?: Record) => Promise; export interface SetDatabaseEncryptionKeyParams { /** New encryption key */ newEncryptionKey?: string; }