import { l } from "@atproto/lex-schema"; import * as LabelDefs from "../../../com/atproto/label/defs.defs.js"; import * as EmbedExternal from "../embed/external.defs.js"; import * as GraphDefs from "../graph/defs.defs.js"; import * as NotificationDefs from "../notification/defs.defs.js"; import * as RepoStrongRef from "../../../com/atproto/repo/strongRef.defs.js"; import * as FeedThreadgate from "../feed/threadgate.defs.js"; import * as FeedPostgate from "../feed/postgate.defs.js"; declare const $nsid = "app.bsky.actor.defs"; type $nsid = typeof $nsid; export { $nsid }; /** A new user experiences (NUX) storage object */ type Nux = { $type?: "app.bsky.actor.defs#nux"; "id": string; /** * Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters. */ "data"?: string; "completed": boolean; /** * The date and time at which the NUX will expire and should be considered completed. */ "expiresAt"?: l.DatetimeString; }; export type { Nux }; /** A new user experiences (NUX) storage object */ declare const nux: l.TypedObjectSchema<"app.bsky.actor.defs#nux", l.Validator>; export { nux }; /** A word that the account owner has muted. */ type MutedWord = { $type?: "app.bsky.actor.defs#mutedWord"; "id"?: string; /** * The muted word itself. */ "value": string; /** * The intended targets of the muted word. */ "targets": (MutedWordTarget)[]; /** * The date and time at which the muted word will expire and no longer be applied. */ "expiresAt"?: l.DatetimeString; /** * Groups of users to apply the muted word to. If undefined, applies to all users. */ "actorTarget"?: "all" | "exclude-following" | l.UnknownString; }; export type { MutedWord }; /** A word that the account owner has muted. */ declare const mutedWord: l.TypedObjectSchema<"app.bsky.actor.defs#mutedWord", l.Validator>; export { mutedWord }; type SavedFeed = { $type?: "app.bsky.actor.defs#savedFeed"; "id": string; "type": "feed" | "list" | "timeline" | l.UnknownString; "value": string; "pinned": boolean; }; export type { SavedFeed }; declare const savedFeed: l.TypedObjectSchema<"app.bsky.actor.defs#savedFeed", l.Validator>; export { savedFeed }; type StatusView = { $type?: "app.bsky.actor.defs#statusView"; "cid"?: l.CidString; "uri"?: l.AtUriString; /** * An optional embed associated with the status. */ "embed"?: l.$Typed | l.Unknown$TypedObject; "labels"?: (LabelDefs.Label)[]; "record": l.LexMap; /** * The status for the account. */ "status": "app.bsky.actor.status#live" | l.UnknownString; /** * True if the status is not expired, false if it is expired. Only present if expiration was set. */ "isActive"?: boolean; /** * The date when this status will expire. The application might choose to no longer return the status after expiration. */ "expiresAt"?: l.DatetimeString; /** * True if the user's go-live access has been disabled by a moderator, false otherwise. */ "isDisabled"?: boolean; }; export type { StatusView }; declare const statusView: l.TypedObjectSchema<"app.bsky.actor.defs#statusView", l.Validator>; export { statusView }; type Preferences = (l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject)[]; export type { Preferences }; declare const preferences: l.ArraySchema | l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject)[]; postgateEmbeddingRules?: (l.$Typed | l.Unknown$TypedObject)[]; } | { $type: "app.bsky.actor.defs#verificationPrefs"; hideBadges?: boolean; } | { $type: "app.bsky.actor.defs#liveEventPreferences"; hideAllFeeds?: boolean; hiddenFeedIds?: (string)[]; }, l.Unknown$TypedObject | { $type: "app.bsky.actor.defs#adultContentPref"; enabled: boolean; } | { $type: "app.bsky.actor.defs#contentLabelPref"; label: string; labelerDid?: l.DidString; visibility: "ignore" | "show" | "warn" | "hide" | l.UnknownString; } | { $type: "app.bsky.actor.defs#savedFeedsPref"; saved: (l.AtUriString)[]; pinned: (l.AtUriString)[]; timelineIndex?: number; } | { $type: "app.bsky.actor.defs#savedFeedsPrefV2"; items: (SavedFeed)[]; } | { $type: "app.bsky.actor.defs#personalDetailsPref"; birthDate?: l.DatetimeString; } | { $type: "app.bsky.actor.defs#declaredAgePref"; isOverAge13?: boolean; isOverAge16?: boolean; isOverAge18?: boolean; } | { $type: "app.bsky.actor.defs#feedViewPref"; feed: string; hideReplies?: boolean; hideReposts?: boolean; hideQuotePosts?: boolean; hideRepliesByLikeCount?: number; hideRepliesByUnfollowed?: boolean; } | { $type: "app.bsky.actor.defs#threadViewPref"; sort?: "oldest" | "newest" | "most-likes" | "random" | "hotness" | l.UnknownString; } | { $type: "app.bsky.actor.defs#interestsPref"; tags: (string)[]; updatedAt?: l.DatetimeString; } | { $type: "app.bsky.actor.defs#mutedWordsPref"; items: (MutedWord)[]; } | { $type: "app.bsky.actor.defs#hiddenPostsPref"; items: (l.AtUriString)[]; } | { $type: "app.bsky.actor.defs#bskyAppStatePref"; nuxs?: (Nux)[]; isBetaUser?: boolean; queuedNudges?: (string)[]; activeProgressGuide?: BskyAppProgressGuide; } | { $type: "app.bsky.actor.defs#labelersPref"; labelers: (LabelerPrefItem)[]; } | { $type: "app.bsky.actor.defs#postInteractionSettingsPref"; threadgateAllowRules?: (l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject)[]; postgateEmbeddingRules?: (l.$Typed | l.Unknown$TypedObject)[]; } | { $type: "app.bsky.actor.defs#verificationPrefs"; hideBadges?: boolean; } | { $type: "app.bsky.actor.defs#liveEventPreferences"; hideAllFeeds?: boolean; hiddenFeedIds?: (string)[]; }>>; export { preferences }; type ProfileView = { $type?: "app.bsky.actor.defs#profileView"; "did": l.DidString; /** * Debug information for internal development */ "debug"?: l.LexMap; "avatar"?: l.UriString; "handle": l.HandleString; "labels"?: (LabelDefs.Label)[]; "status"?: StatusView; "viewer"?: ViewerState; "pronouns"?: string; "createdAt"?: l.DatetimeString; "indexedAt"?: l.DatetimeString; "associated"?: ProfileAssociated; "description"?: string; "displayName"?: string; "verification"?: VerificationState; }; export type { ProfileView }; declare const profileView: l.TypedObjectSchema<"app.bsky.actor.defs#profileView", l.Validator>; export { profileView }; /** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */ type ViewerState = { $type?: "app.bsky.actor.defs#viewerState"; /** * Whether the account is fully muted, directly or via a mutelist. False when the mute is scoped to specific kinds; see mutedOnlyReposts and mutedOnlyQuoteposts. */ "muted"?: boolean; "blocking"?: l.AtUriString; "blockedBy"?: boolean; "following"?: l.AtUriString; "followedBy"?: l.AtUriString; "mutedByList"?: GraphDefs.ListViewBasic; "blockingByList"?: GraphDefs.ListViewBasic; /** * This property is present only in selected cases, as an optimization. */ "knownFollowers"?: KnownFollowers; /** * Whether the account's reposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false. */ "mutedOnlyReposts"?: boolean; /** * Whether the account's quote posts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false. */ "mutedOnlyQuoteposts"?: boolean; /** * This property is present only in selected cases, as an optimization. */ "activitySubscription"?: NotificationDefs.ActivitySubscription; }; export type { ViewerState }; /** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */ declare const viewerState: l.TypedObjectSchema<"app.bsky.actor.defs#viewerState", l.Validator>; export { viewerState }; type FeedViewPref = { $type?: "app.bsky.actor.defs#feedViewPref"; /** * The URI of the feed, or an identifier which describes the feed. */ "feed": string; /** * Hide replies in the feed. */ "hideReplies"?: boolean; /** * Hide reposts in the feed. */ "hideReposts"?: boolean; /** * Hide quote posts in the feed. */ "hideQuotePosts"?: boolean; /** * Hide replies in the feed if they do not have this number of likes. */ "hideRepliesByLikeCount"?: number; /** * Hide replies in the feed if they are not by followed users. */ "hideRepliesByUnfollowed"?: boolean; }; export type { FeedViewPref }; declare const feedViewPref: l.TypedObjectSchema<"app.bsky.actor.defs#feedViewPref", l.Validator>; export { feedViewPref }; type LabelersPref = { $type?: "app.bsky.actor.defs#labelersPref"; "labelers": (LabelerPrefItem)[]; }; export type { LabelersPref }; declare const labelersPref: l.TypedObjectSchema<"app.bsky.actor.defs#labelersPref", l.Validator>; export { labelersPref }; type InterestsPref = { $type?: "app.bsky.actor.defs#interestsPref"; /** * A list of tags which describe the account owner's interests gathered during onboarding. */ "tags": (string)[]; /** * The timestamp when the account owner last updated their interests. */ "updatedAt"?: l.DatetimeString; }; export type { InterestsPref }; declare const interestsPref: l.TypedObjectSchema<"app.bsky.actor.defs#interestsPref", l.Validator>; export { interestsPref }; /** The subject's followers whom you also follow */ type KnownFollowers = { $type?: "app.bsky.actor.defs#knownFollowers"; "count": number; "followers": (ProfileViewBasic)[]; }; export type { KnownFollowers }; /** The subject's followers whom you also follow */ declare const knownFollowers: l.TypedObjectSchema<"app.bsky.actor.defs#knownFollowers", l.Validator>; export { knownFollowers }; type MutedWordsPref = { $type?: "app.bsky.actor.defs#mutedWordsPref"; /** * A list of words the account owner has muted. */ "items": (MutedWord)[]; }; export type { MutedWordsPref }; declare const mutedWordsPref: l.TypedObjectSchema<"app.bsky.actor.defs#mutedWordsPref", l.Validator>; export { mutedWordsPref }; type SavedFeedsPref = { $type?: "app.bsky.actor.defs#savedFeedsPref"; "saved": (l.AtUriString)[]; "pinned": (l.AtUriString)[]; "timelineIndex"?: number; }; export type { SavedFeedsPref }; declare const savedFeedsPref: l.TypedObjectSchema<"app.bsky.actor.defs#savedFeedsPref", l.Validator>; export { savedFeedsPref }; type ThreadViewPref = { $type?: "app.bsky.actor.defs#threadViewPref"; /** * Sorting mode for threads. */ "sort"?: "oldest" | "newest" | "most-likes" | "random" | "hotness" | l.UnknownString; }; export type { ThreadViewPref }; declare const threadViewPref: l.TypedObjectSchema<"app.bsky.actor.defs#threadViewPref", l.Validator>; export { threadViewPref }; /** Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration. */ type DeclaredAgePref = { $type?: "app.bsky.actor.defs#declaredAgePref"; /** * Indicates if the user has declared that they are over 13 years of age. */ "isOverAge13"?: boolean; /** * Indicates if the user has declared that they are over 16 years of age. */ "isOverAge16"?: boolean; /** * Indicates if the user has declared that they are over 18 years of age. */ "isOverAge18"?: boolean; }; export type { DeclaredAgePref }; /** Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration. */ declare const declaredAgePref: l.TypedObjectSchema<"app.bsky.actor.defs#declaredAgePref", l.Validator>; export { declaredAgePref }; type HiddenPostsPref = { $type?: "app.bsky.actor.defs#hiddenPostsPref"; /** * A list of URIs of posts the account owner has hidden. */ "items": (l.AtUriString)[]; }; export type { HiddenPostsPref }; declare const hiddenPostsPref: l.TypedObjectSchema<"app.bsky.actor.defs#hiddenPostsPref", l.Validator>; export { hiddenPostsPref }; type LabelerPrefItem = { $type?: "app.bsky.actor.defs#labelerPrefItem"; "did": l.DidString; }; export type { LabelerPrefItem }; declare const labelerPrefItem: l.TypedObjectSchema<"app.bsky.actor.defs#labelerPrefItem", l.Validator>; export { labelerPrefItem }; type MutedWordTarget = "content" | "tag" | l.UnknownString; export type { MutedWordTarget }; declare const mutedWordTarget: l.StringSchema<{ maxLength: 640; knownValues: ["content", "tag"]; maxGraphemes: 64; }>; export { mutedWordTarget }; type ProfileLinkView = { $type?: "app.bsky.actor.defs#profileLinkView"; "cid": l.CidString; /** * The app.bsky.actor.link record, e.g. for reporting the link. */ "uri": l.AtUriString; /** * The link destination. */ "url": l.UriString; /** * Image URL for the destination site's icon. */ "icon"?: l.UriString; "title"?: string; "labels"?: (LabelDefs.Label)[]; }; export type { ProfileLinkView }; declare const profileLinkView: l.TypedObjectSchema<"app.bsky.actor.defs#profileLinkView", l.Validator>; export { profileLinkView }; type AdultContentPref = { $type?: "app.bsky.actor.defs#adultContentPref"; "enabled": boolean; }; export type { AdultContentPref }; declare const adultContentPref: l.TypedObjectSchema<"app.bsky.actor.defs#adultContentPref", l.Validator>; export { adultContentPref }; /** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */ type BskyAppStatePref = { $type?: "app.bsky.actor.defs#bskyAppStatePref"; /** * Storage for NUXs the user has encountered. */ "nuxs"?: (Nux)[]; /** * Indicates if the user is participating in the beta features program. */ "isBetaUser"?: boolean; /** * An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user. */ "queuedNudges"?: (string)[]; "activeProgressGuide"?: BskyAppProgressGuide; }; export type { BskyAppStatePref }; /** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */ declare const bskyAppStatePref: l.TypedObjectSchema<"app.bsky.actor.defs#bskyAppStatePref", l.Validator>; export { bskyAppStatePref }; type ContentLabelPref = { $type?: "app.bsky.actor.defs#contentLabelPref"; "label": string; /** * Which labeler does this preference apply to? If undefined, applies globally. */ "labelerDid"?: l.DidString; "visibility": "ignore" | "show" | "warn" | "hide" | l.UnknownString; }; export type { ContentLabelPref }; declare const contentLabelPref: l.TypedObjectSchema<"app.bsky.actor.defs#contentLabelPref", l.Validator>; export { contentLabelPref }; type ProfileViewBasic = { $type?: "app.bsky.actor.defs#profileViewBasic"; "did": l.DidString; /** * Debug information for internal development */ "debug"?: l.LexMap; "avatar"?: l.UriString; "handle": l.HandleString; "labels"?: (LabelDefs.Label)[]; "status"?: StatusView; "viewer"?: ViewerState; "pronouns"?: string; "createdAt"?: l.DatetimeString; "associated"?: ProfileAssociated; "displayName"?: string; "verification"?: VerificationState; }; export type { ProfileViewBasic }; declare const profileViewBasic: l.TypedObjectSchema<"app.bsky.actor.defs#profileViewBasic", l.Validator>; export { profileViewBasic }; type SavedFeedsPrefV2 = { $type?: "app.bsky.actor.defs#savedFeedsPrefV2"; "items": (SavedFeed)[]; }; export type { SavedFeedsPrefV2 }; declare const savedFeedsPrefV2: l.TypedObjectSchema<"app.bsky.actor.defs#savedFeedsPrefV2", l.Validator>; export { savedFeedsPrefV2 }; /** An individual verification for an associated subject. */ type VerificationView = { $type?: "app.bsky.actor.defs#verificationView"; /** * The AT-URI of the verification record. */ "uri": l.AtUriString; /** * The user who issued this verification. */ "issuer": l.DidString; /** * True if the verification passes validation, otherwise false. */ "isValid": boolean; /** * Timestamp when the verification was created. */ "createdAt": l.DatetimeString; /** * The handle of the issuer. */ "issuerHandle"?: l.HandleString; /** * The display name of the issuer. */ "issuerDisplayName"?: string; }; export type { VerificationView }; /** An individual verification for an associated subject. */ declare const verificationView: l.TypedObjectSchema<"app.bsky.actor.defs#verificationView", l.Validator>; export { verificationView }; type ProfileAssociated = { $type?: "app.bsky.actor.defs#profileAssociated"; "chat"?: ProfileAssociatedChat; "germ"?: ProfileAssociatedGerm; "lists"?: number; "labeler"?: boolean; "feedgens"?: number; "starterPacks"?: number; "activitySubscription"?: ProfileAssociatedActivitySubscription; }; export type { ProfileAssociated }; declare const profileAssociated: l.TypedObjectSchema<"app.bsky.actor.defs#profileAssociated", l.Validator>; export { profileAssociated }; /** Preferences for how verified accounts appear in the app. */ type VerificationPrefs = { $type?: "app.bsky.actor.defs#verificationPrefs"; /** * Hide the blue check badges for verified accounts and trusted verifiers. */ "hideBadges"?: boolean; }; export type { VerificationPrefs }; /** Preferences for how verified accounts appear in the app. */ declare const verificationPrefs: l.TypedObjectSchema<"app.bsky.actor.defs#verificationPrefs", l.Validator>; export { verificationPrefs }; /** Represents the verification information about the user this object is attached to. */ type VerificationState = { $type?: "app.bsky.actor.defs#verificationState"; /** * All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included. */ "verifications": (VerificationView)[]; /** * The user's status as a verified account. */ "verifiedStatus": "valid" | "invalid" | "none" | l.UnknownString; /** * The user's status as a trusted verifier. */ "trustedVerifierStatus": "valid" | "invalid" | "none" | l.UnknownString; }; export type { VerificationState }; /** Represents the verification information about the user this object is attached to. */ declare const verificationState: l.TypedObjectSchema<"app.bsky.actor.defs#verificationState", l.Validator>; export { verificationState }; type PersonalDetailsPref = { $type?: "app.bsky.actor.defs#personalDetailsPref"; /** * The birth date of account owner. */ "birthDate"?: l.DatetimeString; }; export type { PersonalDetailsPref }; declare const personalDetailsPref: l.TypedObjectSchema<"app.bsky.actor.defs#personalDetailsPref", l.Validator>; export { personalDetailsPref }; type ProfileViewDetailed = { $type?: "app.bsky.actor.defs#profileViewDetailed"; "did": l.DidString; /** * Debug information for internal development */ "debug"?: l.LexMap; /** * The profile's links, in display order. Links that were taken down or don't resolve are left out. */ "links"?: (ProfileLinkView)[]; "avatar"?: l.UriString; "banner"?: l.UriString; "handle": l.HandleString; "labels"?: (LabelDefs.Label)[]; "status"?: StatusView; "viewer"?: ViewerState; /** * @deprecated use links instead. */ "website"?: l.UriString; "pronouns"?: string; "createdAt"?: l.DatetimeString; "indexedAt"?: l.DatetimeString; "associated"?: ProfileAssociated; "pinnedPost"?: RepoStrongRef.Main; "postsCount"?: number; "description"?: string; "displayName"?: string; "followsCount"?: number; "verification"?: VerificationState; "followersCount"?: number; "joinedViaStarterPack"?: GraphDefs.StarterPackViewBasic; }; export type { ProfileViewDetailed }; declare const profileViewDetailed: l.TypedObjectSchema<"app.bsky.actor.defs#profileViewDetailed", l.Validator>; export { profileViewDetailed }; /** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */ type BskyAppProgressGuide = { $type?: "app.bsky.actor.defs#bskyAppProgressGuide"; "guide": string; }; export type { BskyAppProgressGuide }; /** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */ declare const bskyAppProgressGuide: l.TypedObjectSchema<"app.bsky.actor.defs#bskyAppProgressGuide", l.Validator>; export { bskyAppProgressGuide }; /** Preferences for live events. */ type LiveEventPreferences = { $type?: "app.bsky.actor.defs#liveEventPreferences"; /** * Whether to hide all feeds from live events. */ "hideAllFeeds"?: boolean; /** * A list of feed IDs that the user has hidden from live events. */ "hiddenFeedIds"?: (string)[]; }; export type { LiveEventPreferences }; /** Preferences for live events. */ declare const liveEventPreferences: l.TypedObjectSchema<"app.bsky.actor.defs#liveEventPreferences", l.Validator>; export { liveEventPreferences }; type ProfileAssociatedChat = { $type?: "app.bsky.actor.defs#profileAssociatedChat"; "allowIncoming": "all" | "none" | "following" | l.UnknownString; "allowGroupInvites"?: "all" | "none" | "following" | l.UnknownString; }; export type { ProfileAssociatedChat }; declare const profileAssociatedChat: l.TypedObjectSchema<"app.bsky.actor.defs#profileAssociatedChat", l.Validator>; export { profileAssociatedChat }; type ProfileAssociatedGerm = { $type?: "app.bsky.actor.defs#profileAssociatedGerm"; "messageMeUrl": l.UriString; "showButtonTo": "usersIFollow" | "everyone" | l.UnknownString; }; export type { ProfileAssociatedGerm }; declare const profileAssociatedGerm: l.TypedObjectSchema<"app.bsky.actor.defs#profileAssociatedGerm", l.Validator>; export { profileAssociatedGerm }; /** Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly. */ type PostInteractionSettingsPref = { $type?: "app.bsky.actor.defs#postInteractionSettingsPref"; /** * Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */ "threadgateAllowRules"?: (l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject)[]; /** * Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed. */ "postgateEmbeddingRules"?: (l.$Typed | l.Unknown$TypedObject)[]; }; export type { PostInteractionSettingsPref }; /** Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly. */ declare const postInteractionSettingsPref: l.TypedObjectSchema<"app.bsky.actor.defs#postInteractionSettingsPref", l.Validator>; export { postInteractionSettingsPref }; type ProfileAssociatedActivitySubscription = { $type?: "app.bsky.actor.defs#profileAssociatedActivitySubscription"; "allowSubscriptions": "followers" | "mutuals" | "none" | l.UnknownString; }; export type { ProfileAssociatedActivitySubscription }; declare const profileAssociatedActivitySubscription: l.TypedObjectSchema<"app.bsky.actor.defs#profileAssociatedActivitySubscription", l.Validator>; export { profileAssociatedActivitySubscription }; //# sourceMappingURL=defs.defs.d.ts.map