import { ErrorUnion, OkUnion } from '../outputs'; /** * Closes the TDLib instance. All databases will be flushed to disk and properly closed. * After the close completes, updateAuthorizationState with authorizationStateClosed * will be sent * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type CloseMethod = (state?: Record) => Promise;