import { ErrorUnion, OkUnion } from '../outputs'; /** * Checks the authentication password for correctness. Works only when the current authorization * state is authorizationStateWaitPassword * @param {Object} params * @param {string} [params.password] - The password to check * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type CheckAuthenticationPasswordMethod = (params: CheckAuthenticationPasswordParams, state?: Record) => Promise; export interface CheckAuthenticationPasswordParams { /** The password to check */ password?: string; }