import { l } from '@atproto/lex'; import * as GroupDefs from '../group/defs.defs.js'; declare const $nsid = "chat.bsky.embed.joinLink"; export { $nsid }; type Main = { $type?: 'chat.bsky.embed.joinLink'; /** * The join link code. */ code: string; }; export type { Main }; declare const main: l.TypedObjectSchema<"chat.bsky.embed.joinLink", l.Validator>; export { main }; export declare const $type = "chat.bsky.embed.joinLink"; export declare const $isTypeOf: >(value: TValue) => value is l.MaybeTypedObject<"chat.bsky.embed.joinLink", TValue>; export declare const $build: { (input: Omit): { $type: 'chat.bsky.embed.joinLink'; code: string; }; (input: Omit): { $type: 'chat.bsky.embed.joinLink'; code: string; }; }; export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is { $type?: 'chat.bsky.embed.joinLink'; code: string; }; export declare const $check: (input: unknown, options?: l.ValidateOptions) => void; export declare const $cast: (input: I, options?: l.ValidateOptions) => I & { $type?: 'chat.bsky.embed.joinLink'; code: string; }; export declare const $ifMatches: (input: I, options?: l.ValidateOptions) => (I & { $type?: 'chat.bsky.embed.joinLink'; code: string; }) | undefined; export declare const $matches: (input: I, options?: l.ValidateOptions) => input is I & { $type?: 'chat.bsky.embed.joinLink'; code: string; }; export declare const $parse: (input: unknown, options?: l.ParseOptions) => { $type?: 'chat.bsky.embed.joinLink'; code: string; }; export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{ $type?: 'chat.bsky.embed.joinLink'; code: string; }>; export declare const $validate: (input: I, options?: l.ValidateOptions) => I & { $type?: 'chat.bsky.embed.joinLink'; code: string; }; export declare const $safeValidate: (input: I, options?: l.ValidateOptions) => l.ValidationResult; type View = { $type?: 'chat.bsky.embed.joinLink#view'; joinLinkPreview: l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject; }; export type { View }; declare const view: l.TypedObjectSchema<"chat.bsky.embed.joinLink#view", l.Validator>; export { view }; //# sourceMappingURL=joinLink.defs.d.ts.map