import { l } from "@atproto/lex-schema"; import * as RepoStrongRef from "../../../com/atproto/repo/strongRef.defs.js"; declare const $nsid = "app.bsky.feed.repost"; type $nsid = typeof $nsid; export { $nsid }; /** Record representing a 'repost' of an existing Bluesky post. */ type Main = { $type: "app.bsky.feed.repost"; "via"?: RepoStrongRef.Main; "subject": RepoStrongRef.Main; "createdAt": l.DatetimeString; }; export type { Main }; /** Record representing a 'repost' of an existing Bluesky post. */ declare const main: l.RecordSchema<"tid", "app.bsky.feed.repost", l.Validator, Omit>>; export { main }; declare const $type = "app.bsky.feed.repost"; type $type = typeof $type; export { $type }; export declare const $isTypeOf: (value: TValue) => value is l.TypedRecord<"app.bsky.feed.repost", TValue>; export declare const $build: { (input: Omit, "$type">): { $type: "app.bsky.feed.repost"; via?: RepoStrongRef.Main; subject: RepoStrongRef.Main; createdAt: l.DatetimeString; }; (input: Omit, "$type">): { $type: "app.bsky.feed.repost"; via?: RepoStrongRef.Main; subject: RepoStrongRef.Main; createdAt: l.DatetimeString; }; }; export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is { $type: "app.bsky.feed.repost"; via?: RepoStrongRef.Main; subject: RepoStrongRef.Main; createdAt: l.DatetimeString; }; export declare const $check: (input: unknown, options?: l.ValidateOptions) => void; export declare const $cast: (input: I, options?: l.ValidateOptions) => I & { $type: "app.bsky.feed.repost"; via?: RepoStrongRef.Main; subject: RepoStrongRef.Main; createdAt: l.DatetimeString; }; export declare const $ifMatches: (input: I, options?: l.ValidateOptions) => (I & { $type: "app.bsky.feed.repost"; via?: RepoStrongRef.Main; subject: RepoStrongRef.Main; createdAt: l.DatetimeString; }) | undefined; export declare const $matches: (input: I, options?: l.ValidateOptions) => input is I & { $type: "app.bsky.feed.repost"; via?: RepoStrongRef.Main; subject: RepoStrongRef.Main; createdAt: l.DatetimeString; }; export declare const $parse: (input: unknown, options?: l.ParseOptions) => { $type: "app.bsky.feed.repost"; via?: RepoStrongRef.Main; subject: RepoStrongRef.Main; createdAt: l.DatetimeString; }; export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{ $type: "app.bsky.feed.repost"; via?: RepoStrongRef.Main; subject: RepoStrongRef.Main; createdAt: l.DatetimeString; }>; export declare const $validate: (input: I, options?: l.ValidateOptions) => I & { $type: "app.bsky.feed.repost"; via?: RepoStrongRef.Main; subject: RepoStrongRef.Main; createdAt: l.DatetimeString; }; export declare const $safeValidate: (input: I, options?: l.ValidateOptions) => l.ValidationResult; //# sourceMappingURL=repost.defs.d.ts.map