import { l } from "@atproto/lex-schema"; import * as GroupDefs from "../group/defs.defs.js"; import * as ConvoDefs from "../convo/defs.defs.js"; declare const $nsid = "chat.bsky.moderation.defs"; type $nsid = typeof $nsid; export { $nsid }; /** A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members. */ type ConvoView = { $type?: "chat.bsky.moderation.defs#convoView"; "id": string; "rev": string; /** * Union field that has data specific to different kinds of convos. */ "kind"?: l.$Typed | l.$Typed | l.Unknown$TypedObject; }; export type { ConvoView }; /** A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members. */ declare const convoView: l.TypedObjectSchema<"chat.bsky.moderation.defs#convoView", l.Validator>; export { convoView }; /** Data specific to a direct conversation, for moderation purposes. */ type DirectConvo = { $type?: "chat.bsky.moderation.defs#directConvo"; }; export type { DirectConvo }; /** Data specific to a direct conversation, for moderation purposes. */ declare const directConvo: l.TypedObjectSchema<"chat.bsky.moderation.defs#directConvo", l.Validator>; export { directConvo }; /** Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation. */ type GroupConvo = { $type?: "chat.bsky.moderation.defs#groupConvo"; "createdAt": l.DatetimeString; "joinLink"?: GroupDefs.JoinLinkView; /** * The total number of pending join requests for the group conversation. This information is only visible to the owner and to moderators. Capped at 21. */ "joinRequestCount": number; /** * The lock status of the conversation. */ "lockStatus": ConvoDefs.ConvoLockStatus; /** * The total number of members in the group conversation. */ "memberCount": number; /** * The maximum number of members allowed in the group conversation. */ "memberLimit": number; /** * The display name of the group conversation. */ "name": string; }; export type { GroupConvo }; /** Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation. */ declare const groupConvo: l.TypedObjectSchema<"chat.bsky.moderation.defs#groupConvo", l.Validator>; export { groupConvo }; //# sourceMappingURL=defs.defs.d.ts.map