import { l } from "@atproto/lex-schema"; import * as LabelDefs from "../../../com/atproto/label/defs.defs.js"; declare const $nsid = "app.bsky.actor.link"; type $nsid = typeof $nsid; export { $nsid }; /** A link shown on the account's profile. The profile record's links field sets which links are shown, and in what order. */ type Main = { $type: "app.bsky.actor.link"; /** * The link destination, an https URL. */ "url": l.UriString; /** * Optional label for the link. Clients can fall back to the destination's domain. */ "title"?: string; /** * The destination site's icon, uploaded when the link is saved. */ "icon"?: l.BlobRef; "createdAt": l.DatetimeString; /** * Self-label values for this link. */ "labels"?: l.$Typed | l.Unknown$TypedObject; }; export type { Main }; /** A link shown on the account's profile. The profile record's links field sets which links are shown, and in what order. */ declare const main: l.RecordSchema<"tid", "app.bsky.actor.link", l.Validator, Omit>>; export { main }; declare const $type = "app.bsky.actor.link"; type $type = typeof $type; export { $type }; export declare const $isTypeOf: (value: TValue) => value is l.TypedRecord<"app.bsky.actor.link", TValue>; export declare const $build: { (input: Omit, "$type">): { $type: "app.bsky.actor.link"; url: l.UriString; title?: string; icon?: l.BlobRef; createdAt: l.DatetimeString; labels?: l.$Typed | l.Unknown$TypedObject; }; (input: Omit, "$type">): { $type: "app.bsky.actor.link"; url: l.UriString; title?: string; icon?: l.BlobRef; createdAt: l.DatetimeString; labels?: l.$Typed | l.Unknown$TypedObject; }; }; export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is { $type: "app.bsky.actor.link"; url: l.UriString; title?: string; icon?: l.BlobRef; createdAt: l.DatetimeString; labels?: 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.actor.link"; url: l.UriString; title?: string; icon?: l.BlobRef; createdAt: l.DatetimeString; labels?: l.$Typed | l.Unknown$TypedObject; }; export declare const $ifMatches: (input: I, options?: l.ValidateOptions) => (I & { $type: "app.bsky.actor.link"; url: l.UriString; title?: string; icon?: l.BlobRef; createdAt: l.DatetimeString; labels?: l.$Typed | l.Unknown$TypedObject; }) | undefined; export declare const $matches: (input: I, options?: l.ValidateOptions) => input is I & { $type: "app.bsky.actor.link"; url: l.UriString; title?: string; icon?: l.BlobRef; createdAt: l.DatetimeString; labels?: l.$Typed | l.Unknown$TypedObject; }; export declare const $parse: (input: unknown, options?: l.ParseOptions) => { $type: "app.bsky.actor.link"; url: l.UriString; title?: string; icon?: l.BlobRef; createdAt: l.DatetimeString; labels?: l.$Typed | l.Unknown$TypedObject; }; export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{ $type: "app.bsky.actor.link"; url: l.UriString; title?: string; icon?: l.BlobRef; createdAt: l.DatetimeString; labels?: l.$Typed | l.Unknown$TypedObject; }>; export declare const $validate: (input: I, options?: l.ValidateOptions) => I & { $type: "app.bsky.actor.link"; url: l.UriString; title?: string; icon?: l.BlobRef; createdAt: l.DatetimeString; labels?: l.$Typed | l.Unknown$TypedObject; }; export declare const $safeValidate: (input: I, options?: l.ValidateOptions) => l.ValidationResult | l.Unknown$TypedObject; }>; //# sourceMappingURL=link.defs.d.ts.map