import { ErrorUnion, OkUnion } from '../outputs'; /** * Closes a secret chat, effectively transfering its state to secretChatStateClosed * @param {Object} params * @param {number} [params.secretChatId] - Secret chat identifier * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type CloseSecretChatMethod = (params: CloseSecretChatParams, state?: Record) => Promise; export interface CloseSecretChatParams { /** Secret chat identifier */ secretChatId?: number; }