import { l } from '@atproto/lex'; declare const $nsid = "app.bsky.embed.external"; export { $nsid }; /** A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post). */ type Main = { $type?: 'app.bsky.embed.external'; external: External; }; export type { Main }; /** A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post). */ declare const main: l.TypedObjectSchema<"app.bsky.embed.external", l.Validator>; export { main }; export declare const $isTypeOf: >(value: TValue) => value is l.MaybeTypedObject<"app.bsky.embed.external", TValue>, $build: { (input: Omit): { $type: "app.bsky.embed.external"; external: External; }; (input: Omit): { $type: "app.bsky.embed.external"; external: External; }; }, $type: "app.bsky.embed.external"; export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is { $type?: "app.bsky.embed.external" | undefined; external: External; }, $check: (input: unknown, options?: l.ValidateOptions) => void, $cast: (input: I, options?: l.ValidateOptions) => I & { $type?: "app.bsky.embed.external" | undefined; external: External; }, $ifMatches: (input: I, options?: l.ValidateOptions) => (I & { $type?: "app.bsky.embed.external" | undefined; external: External; }) | undefined, $matches: (input: I, options?: l.ValidateOptions) => input is I & { $type?: "app.bsky.embed.external" | undefined; external: External; }, $parse: (input: unknown, options?: l.ParseOptions) => { $type?: "app.bsky.embed.external" | undefined; external: External; }, $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{ $type?: "app.bsky.embed.external" | undefined; external: External; }>, $validate: (input: I, options?: l.ValidateOptions) => I & { $type?: "app.bsky.embed.external" | undefined; external: External; }, $safeValidate: (input: I, options?: l.ValidateOptions) => l.ValidationResult; type External = { $type?: 'app.bsky.embed.external#external'; uri: l.UriString; title: string; description: string; thumb?: l.BlobRef; }; export type { External }; declare const external: l.TypedObjectSchema<"app.bsky.embed.external#external", l.Validator>; export { external }; type View = { $type?: 'app.bsky.embed.external#view'; external: ViewExternal; }; export type { View }; declare const view: l.TypedObjectSchema<"app.bsky.embed.external#view", l.Validator>; export { view }; type ViewExternal = { $type?: 'app.bsky.embed.external#viewExternal'; uri: l.UriString; title: string; description: string; thumb?: l.UriString; }; export type { ViewExternal }; declare const viewExternal: l.TypedObjectSchema<"app.bsky.embed.external#viewExternal", l.Validator>; export { viewExternal }; //# sourceMappingURL=external.defs.d.ts.map