import { ErrorUnion, OkUnion } from '../outputs'; /** * Checks the database encryption key for correctness. Works only when the current authorization * state is authorizationStateWaitEncryptionKey * @param {Object} params * @param {string} [params.encryptionKey] - Encryption key to check or set up * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type CheckDatabaseEncryptionKeyMethod = (params: CheckDatabaseEncryptionKeyParams, state?: Record) => Promise; export interface CheckDatabaseEncryptionKeyParams { /** Encryption key to check or set up */ encryptionKey?: string; }