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 $type = "app.bsky.embed.video"; export declare const $isTypeOf: >(value: TValue) => value is l.MaybeTypedObject<"app.bsky.embed.video", TValue>; export declare const $build: { (input: Omit): { $type: 'app.bsky.embed.video'; video: l.BlobRef; captions?: Caption[]; alt?: string; aspectRatio?: EmbedDefs.AspectRatio; presentation?: 'default' | 'gif' | l.UnknownString; }; (input: Omit): { $type: 'app.bsky.embed.video'; video: l.BlobRef; captions?: Caption[]; alt?: string; aspectRatio?: EmbedDefs.AspectRatio; presentation?: 'default' | 'gif' | l.UnknownString; }; }; export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is { $type?: 'app.bsky.embed.video'; video: l.BlobRef; captions?: Caption[]; alt?: string; aspectRatio?: EmbedDefs.AspectRatio; presentation?: 'default' | 'gif' | l.UnknownString; }; export declare const $check: (input: unknown, options?: l.ValidateOptions) => void; export declare const $cast: (input: I, options?: l.ValidateOptions) => I & { $type?: 'app.bsky.embed.video'; video: l.BlobRef; captions?: Caption[]; alt?: string; aspectRatio?: EmbedDefs.AspectRatio; presentation?: 'default' | 'gif' | l.UnknownString; }; export declare const $ifMatches: (input: I, options?: l.ValidateOptions) => (I & { $type?: 'app.bsky.embed.video'; video: l.BlobRef; captions?: Caption[]; alt?: string; aspectRatio?: EmbedDefs.AspectRatio; presentation?: 'default' | 'gif' | l.UnknownString; }) | undefined; export declare const $matches: (input: I, options?: l.ValidateOptions) => input is I & { $type?: 'app.bsky.embed.video'; video: l.BlobRef; captions?: Caption[]; alt?: string; aspectRatio?: EmbedDefs.AspectRatio; presentation?: 'default' | 'gif' | l.UnknownString; }; export declare const $parse: (input: unknown, options?: l.ParseOptions) => { $type?: 'app.bsky.embed.video'; video: l.BlobRef; captions?: Caption[]; alt?: string; aspectRatio?: EmbedDefs.AspectRatio; presentation?: 'default' | 'gif' | l.UnknownString; }; export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{ $type?: 'app.bsky.embed.video'; video: l.BlobRef; captions?: Caption[]; alt?: string; aspectRatio?: EmbedDefs.AspectRatio; presentation?: 'default' | 'gif' | l.UnknownString; }>; export declare const $validate: (input: I, options?: l.ValidateOptions) => I & { $type?: 'app.bsky.embed.video'; video: l.BlobRef; captions?: Caption[]; alt?: string; aspectRatio?: EmbedDefs.AspectRatio; presentation?: 'default' | 'gif' | l.UnknownString; }; export declare const $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