import { ChatUnion, ErrorUnion } from '../outputs'; /** * Returns an existing chat corresponding to a known secret chat * @param {Object} params * @param {number} [params.secretChatId] - Secret chat identifier * @param {Object} state * @returns {ChatUnion | ErrorUnion} */ export declare type CreateSecretChatMethod = (params: CreateSecretChatParams, state?: Record) => Promise; export interface CreateSecretChatParams { /** Secret chat identifier */ secretChatId?: number; }