import { l } from "@atproto/lex-schema"; import * as RepoStrongRef from "../../../com/atproto/repo/strongRef.defs.js"; import * as FeedDefs from "../feed/defs.defs.js"; import * as GraphDefs from "../graph/defs.defs.js"; import * as LabelerDefs from "../labeler/defs.defs.js"; import * as ActorDefs from "../actor/defs.defs.js"; import * as LabelDefs from "../../../com/atproto/label/defs.defs.js"; import * as EmbedImages from "./images.defs.js"; import * as EmbedVideo from "./video.defs.js"; import * as EmbedGallery from "./gallery.defs.js"; import * as EmbedExternal from "./external.defs.js"; import * as EmbedRecordWithMedia from "./recordWithMedia.defs.js"; declare const $nsid = "app.bsky.embed.record"; type $nsid = typeof $nsid; export { $nsid }; type Main = { $type?: "app.bsky.embed.record"; "record": RepoStrongRef.Main; }; export type { Main }; declare const main: l.TypedObjectSchema<"app.bsky.embed.record", l.Validator>; export { main }; declare const $type = "app.bsky.embed.record"; type $type = typeof $type; export { $type }; export declare const $isTypeOf: >(value: TValue) => value is l.MaybeTypedObject<"app.bsky.embed.record", TValue>; export declare const $build: { (input: Omit): { $type: "app.bsky.embed.record"; record: RepoStrongRef.Main; }; (input: Omit): { $type: "app.bsky.embed.record"; record: RepoStrongRef.Main; }; }; export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is { $type?: "app.bsky.embed.record"; record: RepoStrongRef.Main; }; export declare const $check: (input: unknown, options?: l.ValidateOptions) => void; export declare const $cast: (input: I, options?: l.ValidateOptions) => I & { $type?: "app.bsky.embed.record"; record: RepoStrongRef.Main; }; export declare const $ifMatches: (input: I, options?: l.ValidateOptions) => (I & { $type?: "app.bsky.embed.record"; record: RepoStrongRef.Main; }) | undefined; export declare const $matches: (input: I, options?: l.ValidateOptions) => input is I & { $type?: "app.bsky.embed.record"; record: RepoStrongRef.Main; }; export declare const $parse: (input: unknown, options?: l.ParseOptions) => { $type?: "app.bsky.embed.record"; record: RepoStrongRef.Main; }; export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{ $type?: "app.bsky.embed.record"; record: RepoStrongRef.Main; }>; export declare const $validate: (input: I, options?: l.ValidateOptions) => I & { $type?: "app.bsky.embed.record"; record: RepoStrongRef.Main; }; export declare const $safeValidate: (input: I, options?: l.ValidateOptions) => l.ValidationResult; type View = { $type?: "app.bsky.embed.record#view"; "record": l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject; }; export type { View }; declare const view: l.TypedObjectSchema<"app.bsky.embed.record#view", l.Validator>; export { view }; type ViewRecord = { $type?: "app.bsky.embed.record#viewRecord"; "uri": l.AtUriString; "cid": l.CidString; "author": ActorDefs.ProfileViewBasic; /** * The record data itself. */ "value": l.LexMap; "labels"?: (LabelDefs.Label)[]; "replyCount"?: number; "repostCount"?: number; "likeCount"?: number; "quoteCount"?: number; /** * The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread. */ "opThreadPostIndex"?: number; /** * The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread. */ "opThreadPostCount"?: number; "embeds"?: (l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject)[]; "indexedAt": l.DatetimeString; }; export type { ViewRecord }; declare const viewRecord: l.TypedObjectSchema<"app.bsky.embed.record#viewRecord", l.Validator>; export { viewRecord }; type ViewNotFound = { $type?: "app.bsky.embed.record#viewNotFound"; "uri": l.AtUriString; "notFound": true; }; export type { ViewNotFound }; declare const viewNotFound: l.TypedObjectSchema<"app.bsky.embed.record#viewNotFound", l.Validator>; export { viewNotFound }; type ViewBlocked = { $type?: "app.bsky.embed.record#viewBlocked"; "uri": l.AtUriString; "blocked": true; "author": FeedDefs.BlockedAuthor; }; export type { ViewBlocked }; declare const viewBlocked: l.TypedObjectSchema<"app.bsky.embed.record#viewBlocked", l.Validator>; export { viewBlocked }; type ViewDetached = { $type?: "app.bsky.embed.record#viewDetached"; "uri": l.AtUriString; "detached": true; }; export type { ViewDetached }; declare const viewDetached: l.TypedObjectSchema<"app.bsky.embed.record#viewDetached", l.Validator>; export { viewDetached }; //# sourceMappingURL=record.defs.d.ts.map