import { l } from "@atproto/lex-schema"; import * as LabelDefs from "../../../com/atproto/label/defs.defs.js"; import * as ActorDefs from "../actor/defs.defs.js"; import * as ModerationDefs from "../../../com/atproto/moderation/defs.defs.js"; declare const $nsid = "app.bsky.labeler.defs"; type $nsid = typeof $nsid; export { $nsid }; type LabelerView = { $type?: "app.bsky.labeler.defs#labelerView"; "cid": l.CidString; "uri": l.AtUriString; "labels"?: (LabelDefs.Label)[]; "viewer"?: LabelerViewerState; "creator": ActorDefs.ProfileView; "indexedAt": l.DatetimeString; "likeCount"?: number; }; export type { LabelerView }; declare const labelerView: l.TypedObjectSchema<"app.bsky.labeler.defs#labelerView", l.Validator>; export { labelerView }; type LabelerPolicies = { $type?: "app.bsky.labeler.defs#labelerPolicies"; /** * The label values which this labeler publishes. May include global or custom labels. */ "labelValues": (LabelDefs.LabelValue)[]; /** * Label values created by this labeler and scoped exclusively to it. Labels defined here will override global label definitions for this labeler. */ "labelValueDefinitions"?: (LabelDefs.LabelValueDefinition)[]; }; export type { LabelerPolicies }; declare const labelerPolicies: l.TypedObjectSchema<"app.bsky.labeler.defs#labelerPolicies", l.Validator>; export { labelerPolicies }; type LabelerViewerState = { $type?: "app.bsky.labeler.defs#labelerViewerState"; "like"?: l.AtUriString; }; export type { LabelerViewerState }; declare const labelerViewerState: l.TypedObjectSchema<"app.bsky.labeler.defs#labelerViewerState", l.Validator>; export { labelerViewerState }; type LabelerViewDetailed = { $type?: "app.bsky.labeler.defs#labelerViewDetailed"; "cid": l.CidString; "uri": l.AtUriString; "labels"?: (LabelDefs.Label)[]; "viewer"?: LabelerViewerState; "creator": ActorDefs.ProfileView; "policies": LabelerPolicies; "indexedAt": l.DatetimeString; "likeCount"?: number; /** * The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed. */ "reasonTypes"?: (ModerationDefs.ReasonType)[]; /** * The set of subject types (account, record, etc) this service accepts reports on. */ "subjectTypes"?: (ModerationDefs.SubjectType)[]; /** * Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type. */ "subjectCollections"?: (l.NsidString)[]; }; export type { LabelerViewDetailed }; declare const labelerViewDetailed: l.TypedObjectSchema<"app.bsky.labeler.defs#labelerViewDetailed", l.Validator>; export { labelerViewDetailed }; //# sourceMappingURL=defs.defs.d.ts.map