import type { MachinatChannel } from '@machinat/core'; import type { MarshallableInstance } from '@machinat/core/base/Marshaler'; import type MessengerUser from './User'; import type { PSIDTarget } from './types'; declare type FacebookChatValue = { page: string; id: string; }; declare class FacebookChat implements MachinatChannel, MarshallableInstance { static typeName: string; static fromUser(user: MessengerUser): FacebookChat; static fromJSONValue(value: FacebookChatValue): FacebookChat; pageId: string; id: string; platform: "messenger"; type: string; constructor(pageId: string, id: string); get uid(): string; get target(): PSIDTarget; toJSONValue(): FacebookChatValue; typeName(): string; } export default FacebookChat;