import { ChatUnion, ErrorUnion } from '../outputs'; /** * Creates a new secret chat. Returns the newly created chat * @param {Object} params * @param {number} [params.userId] - Identifier of the target user * @param {Object} state * @returns {ChatUnion | ErrorUnion} */ export declare type CreateNewSecretChatMethod = (params: CreateNewSecretChatParams, state?: Record) => Promise; export interface CreateNewSecretChatParams { /** Identifier of the target user */ userId?: number; }