import { l } from "@atproto/lex-schema"; import * as ActorDefs from "../actor/defs.defs.js"; import * as GraphDefs from "../graph/defs.defs.js"; import * as LabelDefs from "../../../com/atproto/label/defs.defs.js"; declare const $nsid = "app.bsky.notification.listNotifications"; type $nsid = typeof $nsid; export { $nsid }; export declare const $params: l.ParamsSchema<{ readonly reasons: l.OptionalSchema>>; readonly limit: l.OptionalSchema>; readonly priority: l.OptionalSchema; readonly cursor: l.OptionalSchema>; readonly seenAt: l.OptionalSchema>; }>; export type $Params = l.InferOutput; export declare const $output: l.Payload<"application/json", l.ObjectSchema<{ cursor: l.OptionalSchema>; notifications: l.ArraySchema>>; priority: l.OptionalSchema; seenAt: l.OptionalSchema>; }>>; export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Enumerate notifications for the requesting account. Requires auth. */ declare const main: l.Query<"app.bsky.notification.listNotifications", l.ParamsSchema<{ readonly reasons: l.OptionalSchema>>; readonly limit: l.OptionalSchema>; readonly priority: l.OptionalSchema; readonly cursor: l.OptionalSchema>; readonly seenAt: l.OptionalSchema>; }>, l.Payload<"application/json", l.ObjectSchema<{ cursor: l.OptionalSchema>; notifications: l.ArraySchema>>; priority: l.OptionalSchema; seenAt: l.OptionalSchema>; }>>, undefined>; export { main }; declare const $lxm = "app.bsky.notification.listNotifications"; type $lxm = typeof $lxm; export { $lxm }; type Notification = { $type?: "app.bsky.notification.listNotifications#notification"; "uri": l.AtUriString; "cid": l.CidString; "author": ActorDefs.ProfileView; /** * The reason why this notification was delivered - e.g. your post was liked, or you received a new follower. */ "reason": "like" | "repost" | "follow" | "mention" | "reply" | "quote" | "starterpack-joined" | "verified" | "unverified" | "like-via-repost" | "repost-via-repost" | "subscribed-post" | "contact-match" | l.UnknownString; "reasonSubject"?: l.AtUriString; "record": l.LexMap; /** * The starter pack associated with this notification. Present when the notification is for a follow originating from a starter pack. */ "starterPack"?: GraphDefs.StarterPackViewBasic; "isRead": boolean; "indexedAt": l.DatetimeString; "labels"?: (LabelDefs.Label)[]; }; export type { Notification }; declare const notification: l.TypedObjectSchema<"app.bsky.notification.listNotifications#notification", l.Validator>; export { notification }; //# sourceMappingURL=listNotifications.defs.d.ts.map