import { l } from '@atproto/lex'; import * as EmbedDefs from './defs.defs.js'; declare const $nsid = "app.bsky.embed.video"; export { $nsid }; type Main = { $type?: 'app.bsky.embed.video'; /** * The mp4 video file. May be up to 100mb, formerly limited to 50mb. */ video: l.BlobRef; captions?: Caption[]; /** * Alt text description of the video, for accessibility. */ alt?: string; aspectRatio?: EmbedDefs.AspectRatio; /** * A hint to the client about how to present the video. */ presentation?: 'default' | 'gif' | l.UnknownString; }; export type { Main }; declare const main: l.TypedObjectSchema<"app.bsky.embed.video", l.Validator>; export { main }; export declare const $isTypeOf: >(value: TValue) => value is l.MaybeTypedObject<"app.bsky.embed.video", TValue>, $build: { (input: Omit): { $type: "app.bsky.embed.video"; video: l.BlobRef; captions?: Caption[] /** * Alt text description of the video, for accessibility. */ | undefined; alt?: string | undefined; aspectRatio?: EmbedDefs.AspectRatio /** * A hint to the client about how to present the video. */ | undefined; presentation?: ("default" | "gif" | l.UnknownString) | undefined; }; (input: Omit): { $type: "app.bsky.embed.video"; video: l.BlobRef; captions?: Caption[] /** * Alt text description of the video, for accessibility. */ | undefined; alt?: string | undefined; aspectRatio?: EmbedDefs.AspectRatio /** * A hint to the client about how to present the video. */ | undefined; presentation?: ("default" | "gif" | l.UnknownString) | undefined; }; }, $type: "app.bsky.embed.video"; export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is { $type?: "app.bsky.embed.video" /** * The mp4 video file. May be up to 100mb, formerly limited to 50mb. */ | undefined; video: l.BlobRef; captions?: Caption[] /** * Alt text description of the video, for accessibility. */ | undefined; alt?: string | undefined; aspectRatio?: EmbedDefs.AspectRatio /** * A hint to the client about how to present the video. */ | undefined; presentation?: ("default" | "gif" | l.UnknownString) | undefined; }, $check: (input: unknown, options?: l.ValidateOptions) => void, $cast: (input: I, options?: l.ValidateOptions) => I & { $type?: "app.bsky.embed.video" /** * The mp4 video file. May be up to 100mb, formerly limited to 50mb. */ | undefined; video: l.BlobRef; captions?: Caption[] /** * Alt text description of the video, for accessibility. */ | undefined; alt?: string | undefined; aspectRatio?: EmbedDefs.AspectRatio /** * A hint to the client about how to present the video. */ | undefined; presentation?: ("default" | "gif" | l.UnknownString) | undefined; }, $ifMatches: (input: I, options?: l.ValidateOptions) => (I & { $type?: "app.bsky.embed.video" /** * The mp4 video file. May be up to 100mb, formerly limited to 50mb. */ | undefined; video: l.BlobRef; captions?: Caption[] /** * Alt text description of the video, for accessibility. */ | undefined; alt?: string | undefined; aspectRatio?: EmbedDefs.AspectRatio /** * A hint to the client about how to present the video. */ | undefined; presentation?: ("default" | "gif" | l.UnknownString) | undefined; }) | undefined, $matches: (input: I, options?: l.ValidateOptions) => input is I & { $type?: "app.bsky.embed.video" /** * The mp4 video file. May be up to 100mb, formerly limited to 50mb. */ | undefined; video: l.BlobRef; captions?: Caption[] /** * Alt text description of the video, for accessibility. */ | undefined; alt?: string | undefined; aspectRatio?: EmbedDefs.AspectRatio /** * A hint to the client about how to present the video. */ | undefined; presentation?: ("default" | "gif" | l.UnknownString) | undefined; }, $parse: (input: unknown, options?: l.ParseOptions) => { $type?: "app.bsky.embed.video" /** * The mp4 video file. May be up to 100mb, formerly limited to 50mb. */ | undefined; video: l.BlobRef; captions?: Caption[] /** * Alt text description of the video, for accessibility. */ | undefined; alt?: string | undefined; aspectRatio?: EmbedDefs.AspectRatio /** * A hint to the client about how to present the video. */ | undefined; presentation?: ("default" | "gif" | l.UnknownString) | undefined; }, $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{ $type?: "app.bsky.embed.video" /** * The mp4 video file. May be up to 100mb, formerly limited to 50mb. */ | undefined; video: l.BlobRef; captions?: Caption[] /** * Alt text description of the video, for accessibility. */ | undefined; alt?: string | undefined; aspectRatio?: EmbedDefs.AspectRatio /** * A hint to the client about how to present the video. */ | undefined; presentation?: ("default" | "gif" | l.UnknownString) | undefined; }>, $validate: (input: I, options?: l.ValidateOptions) => I & { $type?: "app.bsky.embed.video" /** * The mp4 video file. May be up to 100mb, formerly limited to 50mb. */ | undefined; video: l.BlobRef; captions?: Caption[] /** * Alt text description of the video, for accessibility. */ | undefined; alt?: string | undefined; aspectRatio?: EmbedDefs.AspectRatio /** * A hint to the client about how to present the video. */ | undefined; presentation?: ("default" | "gif" | l.UnknownString) | undefined; }, $safeValidate: (input: I, options?: l.ValidateOptions) => l.ValidationResult; type Caption = { $type?: 'app.bsky.embed.video#caption'; lang: l.LanguageString; file: l.BlobRef; }; export type { Caption }; declare const caption: l.TypedObjectSchema<"app.bsky.embed.video#caption", l.Validator>; export { caption }; type View = { $type?: 'app.bsky.embed.video#view'; cid: l.CidString; playlist: l.UriString; thumbnail?: l.UriString; alt?: string; aspectRatio?: EmbedDefs.AspectRatio; /** * A hint to the client about how to present the video. */ presentation?: 'default' | 'gif' | l.UnknownString; }; export type { View }; declare const view: l.TypedObjectSchema<"app.bsky.embed.video#view", l.Validator>; export { view }; //# sourceMappingURL=video.defs.d.ts.map