export declare const ChatRoomRegistrationErr: import("scale-ts").Codec<{ tag: "Unknown"; value: { reason: string; }; } | { tag: "PermissionDenied"; value: undefined; }>; export declare const ChatBotRegistrationErr: import("scale-ts").Codec<{ tag: "Unknown"; value: { reason: string; }; } | { tag: "PermissionDenied"; value: undefined; }>; export declare const ChatMessagePostingErr: import("scale-ts").Codec<{ tag: "Unknown"; value: { reason: string; }; } | { tag: "MessageTooLarge"; value: undefined; }>; export declare const ChatRoomRequest: import("scale-ts").Codec<{ roomId: string; name: string; icon: string; }>; declare const ChatRoomRegistrationStatus: import("scale-ts").Codec<"New" | "Exists">; export declare const ChatRoomRegistrationResult: import("scale-ts").Codec<{ status: "New" | "Exists"; }>; export declare const ChatBotRequest: import("scale-ts").Codec<{ botId: string; name: string; icon: string; }>; declare const ChatBotRegistrationStatus: import("scale-ts").Codec<"New" | "Exists">; export declare const ChatBotRegistrationResult: import("scale-ts").Codec<{ status: "New" | "Exists"; }>; declare const ChatRoomParticipation: import("scale-ts").Codec<"RoomHost" | "Bot">; export declare const ChatRoom: import("scale-ts").Codec<{ roomId: string; participatingAs: "RoomHost" | "Bot"; }>; declare const ChatAction: import("scale-ts").Codec<{ actionId: string; title: string; }>; declare const ChatActionLayout: import("scale-ts").Codec<"Column" | "Grid">; declare const ChatActions: import("scale-ts").Codec<{ text: string | undefined; actions: { actionId: string; title: string; }[]; layout: "Column" | "Grid"; }>; declare const ChatMedia: import("scale-ts").Codec<{ url: string; }>; declare const ChatRichText: import("scale-ts").Codec<{ text: string | undefined; media: { url: string; }[]; }>; declare const ChatFile: import("scale-ts").Codec<{ url: string; fileName: string; mimeType: string; sizeBytes: bigint; text: string | undefined; }>; declare const ChatReaction: import("scale-ts").Codec<{ messageId: string; emoji: string; }>; declare const ChatCustomMessage: import("scale-ts").Codec<{ messageType: string; payload: Uint8Array; }>; export declare const ChatMessageContent: import("scale-ts").Codec<{ tag: "Text"; value: string; } | { tag: "RichText"; value: { text: string | undefined; media: { url: string; }[]; }; } | { tag: "Actions"; value: { text: string | undefined; actions: { actionId: string; title: string; }[]; layout: "Column" | "Grid"; }; } | { tag: "File"; value: { url: string; fileName: string; mimeType: string; sizeBytes: bigint; text: string | undefined; }; } | { tag: "Reaction"; value: { messageId: string; emoji: string; }; } | { tag: "ReactionRemoved"; value: { messageId: string; emoji: string; }; } | { tag: "Custom"; value: { messageType: string; payload: Uint8Array; }; }>; export declare const ChatPostMessageResult: import("scale-ts").Codec<{ messageId: string; }>; declare const ActionTrigger: import("scale-ts").Codec<{ messageId: string; actionId: string; payload: Uint8Array | undefined; }>; declare const ChatCommand: import("scale-ts").Codec<{ command: string; payload: string; }>; declare const ChatActionPayload: import("scale-ts").Codec<{ tag: "MessagePosted"; value: { tag: "Text"; value: string; } | { tag: "RichText"; value: { text: string | undefined; media: { url: string; }[]; }; } | { tag: "Actions"; value: { text: string | undefined; actions: { actionId: string; title: string; }[]; layout: "Column" | "Grid"; }; } | { tag: "File"; value: { url: string; fileName: string; mimeType: string; sizeBytes: bigint; text: string | undefined; }; } | { tag: "Reaction"; value: { messageId: string; emoji: string; }; } | { tag: "ReactionRemoved"; value: { messageId: string; emoji: string; }; } | { tag: "Custom"; value: { messageType: string; payload: Uint8Array; }; }; } | { tag: "ActionTriggered"; value: { messageId: string; actionId: string; payload: Uint8Array | undefined; }; } | { tag: "Command"; value: { command: string; payload: string; }; }>; export declare const ReceivedChatAction: import("scale-ts").Codec<{ roomId: string; peer: string; payload: { tag: "MessagePosted"; value: { tag: "Text"; value: string; } | { tag: "RichText"; value: { text: string | undefined; media: { url: string; }[]; }; } | { tag: "Actions"; value: { text: string | undefined; actions: { actionId: string; title: string; }[]; layout: "Column" | "Grid"; }; } | { tag: "File"; value: { url: string; fileName: string; mimeType: string; sizeBytes: bigint; text: string | undefined; }; } | { tag: "Reaction"; value: { messageId: string; emoji: string; }; } | { tag: "ReactionRemoved"; value: { messageId: string; emoji: string; }; } | { tag: "Custom"; value: { messageType: string; payload: Uint8Array; }; }; } | { tag: "ActionTriggered"; value: { messageId: string; actionId: string; payload: Uint8Array | undefined; }; } | { tag: "Command"; value: { command: string; payload: string; }; }; }>; import type { CodecType } from "scale-ts"; export type ChatRoomRequestType = CodecType; export type ChatRoomRegistrationStatusType = CodecType; export type ChatRoomRegistrationResultType = CodecType; export type ChatBotRequestType = CodecType; export type ChatBotRegistrationStatusType = CodecType; export type ChatBotRegistrationResultType = CodecType; export type ChatRoomParticipationType = CodecType; export type ChatRoomType = CodecType; export type ChatActionType = CodecType; export type ChatActionLayoutType = CodecType; export type ChatActionsType = CodecType; export type ChatMediaType = CodecType; export type ChatRichTextType = CodecType; export type ChatFileType = CodecType; export type ChatReactionType = CodecType; export type ChatCustomMessageType = CodecType; export type ChatMessageContentType = CodecType; export type ChatPostMessageResultType = CodecType; export type ActionTriggerType = CodecType; export type ChatCommandType = CodecType; export type ChatActionPayloadType = CodecType; export type ReceivedChatActionType = CodecType; export {}; //# sourceMappingURL=chat.d.ts.map