import { l } from '@atproto/lex'; import * as ActorDefs from '../actor/defs.defs.js'; import * as LabelDefs from '../../../com/atproto/label/defs.defs.js'; declare const $nsid = "app.bsky.notification.listNotifications"; export { $nsid }; /** 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 }; export type $Params = l.InferMethodParams; export type $Output = l.InferMethodOutput; export type $OutputBody = l.InferMethodOutputBody; export declare const $lxm: "app.bsky.notification.listNotifications", $params: l.ParamsSchema<{ readonly reasons: l.OptionalSchema>>; readonly limit: l.OptionalSchema>; readonly priority: l.OptionalSchema; readonly cursor: l.OptionalSchema>; readonly seenAt: l.OptionalSchema>; }>, $output: l.Payload<"application/json", l.ObjectSchema<{ cursor: l.OptionalSchema>; notifications: l.ArraySchema>>; priority: l.OptionalSchema; seenAt: l.OptionalSchema>; }>>; 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; 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