import { ChatReportSpamStateUnion, ErrorUnion } from '../outputs'; /** * Returns information on whether the current chat can be reported as spam * @param {Object} params * @param {number} [params.chatId] - Chat identifier * @param {Object} state * @returns {ChatReportSpamStateUnion | ErrorUnion} */ export declare type GetChatReportSpamStateMethod = (params: GetChatReportSpamStateParams, state?: Record) => Promise; export interface GetChatReportSpamStateParams { /** Chat identifier */ chatId?: number; }