import { Attachment } from '.'; import { Exportable } from './exportable'; export declare type ParseType = 'full' | 'none'; export declare class Chat implements Exportable { token?: string; text?: string; channel?: string; messageTs?: string; ts?: string; asUser?: boolean; iconEmoji?: string; iconUrl?: string; linkNames?: boolean; mrkdwn?: boolean; parse?: ParseType; replyBroadcast?: boolean; threadTs?: string; unfurls?: string; unfurlLinks?: boolean; unfurlMedia?: boolean; user?: string; username?: string; userAuthMessage?: string; userAuthRequired?: boolean; userAuthUrl?: string; attachments?: Attachment[]; export: Exportable['export']; readonly setText: (value: string) => void; readonly updateText: (cb: (text: string) => string) => void; readonly setToken: (value: string) => void; readonly setChannel: (value: string) => void; readonly setMessageTs: (value: string) => void; readonly setTs: (value: string) => void; readonly setAsUser: (value: boolean) => void; readonly setIconEmoji: (value: string) => void; readonly setIconUrl: (value: string) => void; readonly setLinkNames: (value: boolean) => void; readonly setMrkdwn: (value: boolean) => void; readonly setParse: (value: ParseType) => void; readonly setReplyBroadcast: (value: boolean) => void; /** * @param value `'1234567890.123456'` */ readonly setThreadTs: (value: string) => void; readonly setUnfurls: (value: string) => void; readonly setUnfurlLinks: (value: boolean) => void; readonly setUnfurlMedia: (value: boolean) => void; readonly setUser: (value: string) => void; readonly setUsername: (value: string) => void; readonly setUserAuthMessage: (value: string) => void; readonly setUserAuthRequired: (value: boolean) => void; readonly setUserAuthUrl: (value: string) => void; readonly addAttachment: (attachment: Attachment<"text">) => void; }