import { l } from '@atproto/lex'; import * as EmbedDefs from './defs.defs.js'; declare const $nsid = "app.bsky.embed.gallery"; export { $nsid }; type Main = { $type?: 'app.bsky.embed.gallery'; /** * The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs. */ items: (l.$Typed | l.Unknown$TypedObject)[]; }; export type { Main }; declare const main: l.TypedObjectSchema<"app.bsky.embed.gallery", l.Validator>; export { main }; export declare const $type = "app.bsky.embed.gallery"; export declare const $isTypeOf: >(value: TValue) => value is l.MaybeTypedObject<"app.bsky.embed.gallery", TValue>; export declare const $build: { (input: Omit): { $type: 'app.bsky.embed.gallery'; items: (l.$Typed | l.Unknown$TypedObject)[]; }; (input: Omit): { $type: 'app.bsky.embed.gallery'; items: (l.$Typed | l.Unknown$TypedObject)[]; }; }; export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is { $type?: 'app.bsky.embed.gallery'; items: (l.$Typed | l.Unknown$TypedObject)[]; }; export declare const $check: (input: unknown, options?: l.ValidateOptions) => void; export declare const $cast: (input: I, options?: l.ValidateOptions) => I & { $type?: 'app.bsky.embed.gallery'; items: (l.$Typed | l.Unknown$TypedObject)[]; }; export declare const $ifMatches: (input: I, options?: l.ValidateOptions) => (I & { $type?: 'app.bsky.embed.gallery'; items: (l.$Typed | l.Unknown$TypedObject)[]; }) | undefined; export declare const $matches: (input: I, options?: l.ValidateOptions) => input is I & { $type?: 'app.bsky.embed.gallery'; items: (l.$Typed | l.Unknown$TypedObject)[]; }; export declare const $parse: (input: unknown, options?: l.ParseOptions) => { $type?: 'app.bsky.embed.gallery'; items: (l.$Typed | l.Unknown$TypedObject)[]; }; export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{ $type?: 'app.bsky.embed.gallery'; items: (l.$Typed | l.Unknown$TypedObject)[]; }>; export declare const $validate: (input: I, options?: l.ValidateOptions) => I & { $type?: 'app.bsky.embed.gallery'; items: (l.$Typed | l.Unknown$TypedObject)[]; }; export declare const $safeValidate: (input: I, options?: l.ValidateOptions) => l.ValidationResult | l.Unknown$TypedObject)[]; }>; type Image = { $type?: 'app.bsky.embed.gallery#image'; image: l.BlobRef; /** * Alt text description of the image, for accessibility. */ alt: string; aspectRatio: EmbedDefs.AspectRatio; }; export type { Image }; declare const image: l.TypedObjectSchema<"app.bsky.embed.gallery#image", l.Validator>; export { image }; type View = { $type?: 'app.bsky.embed.gallery#view'; items: (l.$Typed | l.Unknown$TypedObject)[]; }; export type { View }; declare const view: l.TypedObjectSchema<"app.bsky.embed.gallery#view", l.Validator>; export { view }; type ViewImage = { $type?: 'app.bsky.embed.gallery#viewImage'; /** * Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View. */ thumbnail: l.UriString; /** * Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View. */ fullsize: l.UriString; /** * Alt text description of the image, for accessibility. */ alt: string; aspectRatio: EmbedDefs.AspectRatio; }; export type { ViewImage }; declare const viewImage: l.TypedObjectSchema<"app.bsky.embed.gallery#viewImage", l.Validator>; export { viewImage }; //# sourceMappingURL=gallery.defs.d.ts.map