import { l } from '@atproto/lex'; import * as LabelDefs from '../../../com/atproto/label/defs.defs.js'; import * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js'; declare const $nsid = "app.bsky.actor.profile"; export { $nsid }; /** A declaration of a Bluesky account profile. */ type Main = { $type: 'app.bsky.actor.profile'; displayName?: string; /** * Free-form profile description text. */ description?: string; /** * Free-form pronouns text. */ pronouns?: string; website?: l.UriString; /** * Small image to be displayed next to posts from account. AKA, 'profile picture' */ avatar?: l.BlobRef; /** * Larger horizontal image to display behind profile view. */ banner?: l.BlobRef; /** * Self-label values, specific to the Bluesky application, on the overall account. */ labels?: l.$Typed | l.Unknown$TypedObject; joinedViaStarterPack?: RepoStrongRef.Main; pinnedPost?: RepoStrongRef.Main; createdAt?: l.DatetimeString; }; export type { Main }; /** A declaration of a Bluesky account profile. */ declare const main: l.RecordSchema<"literal:self", "app.bsky.actor.profile", l.Validator, Omit>>; export { main }; export declare const $type = "app.bsky.actor.profile"; export declare const $isTypeOf: (value: TValue) => value is l.TypedRecord<"app.bsky.actor.profile", TValue>; export declare const $build: { (input: Omit, "$type">): { $type: "app.bsky.actor.profile"; displayName?: string; description?: string; pronouns?: string; website?: l.UriString; avatar?: l.BlobRef; banner?: l.BlobRef; labels?: l.$Typed | l.Unknown$TypedObject; joinedViaStarterPack?: RepoStrongRef.Main; pinnedPost?: RepoStrongRef.Main; createdAt?: l.DatetimeString; }; (input: Omit, "$type">): { $type: "app.bsky.actor.profile"; displayName?: string; description?: string; pronouns?: string; website?: l.UriString; avatar?: l.BlobRef; banner?: l.BlobRef; labels?: l.$Typed | l.Unknown$TypedObject; joinedViaStarterPack?: RepoStrongRef.Main; pinnedPost?: RepoStrongRef.Main; createdAt?: l.DatetimeString; }; }; export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is { $type: "app.bsky.actor.profile"; displayName?: string; description?: string; pronouns?: string; website?: l.UriString; avatar?: l.BlobRef; banner?: l.BlobRef; labels?: l.$Typed | l.Unknown$TypedObject; joinedViaStarterPack?: RepoStrongRef.Main; pinnedPost?: RepoStrongRef.Main; createdAt?: l.DatetimeString; }; export declare const $check: (input: unknown, options?: l.ValidateOptions) => void; export declare const $cast: (input: I, options?: l.ValidateOptions) => I & { $type: "app.bsky.actor.profile"; displayName?: string; description?: string; pronouns?: string; website?: l.UriString; avatar?: l.BlobRef; banner?: l.BlobRef; labels?: l.$Typed | l.Unknown$TypedObject; joinedViaStarterPack?: RepoStrongRef.Main; pinnedPost?: RepoStrongRef.Main; createdAt?: l.DatetimeString; }; export declare const $ifMatches: (input: I, options?: l.ValidateOptions) => (I & { $type: "app.bsky.actor.profile"; displayName?: string; description?: string; pronouns?: string; website?: l.UriString; avatar?: l.BlobRef; banner?: l.BlobRef; labels?: l.$Typed | l.Unknown$TypedObject; joinedViaStarterPack?: RepoStrongRef.Main; pinnedPost?: RepoStrongRef.Main; createdAt?: l.DatetimeString; }) | undefined; export declare const $matches: (input: I, options?: l.ValidateOptions) => input is I & { $type: "app.bsky.actor.profile"; displayName?: string; description?: string; pronouns?: string; website?: l.UriString; avatar?: l.BlobRef; banner?: l.BlobRef; labels?: l.$Typed | l.Unknown$TypedObject; joinedViaStarterPack?: RepoStrongRef.Main; pinnedPost?: RepoStrongRef.Main; createdAt?: l.DatetimeString; }; export declare const $parse: (input: unknown, options?: l.ParseOptions) => { $type: "app.bsky.actor.profile"; displayName?: string; description?: string; pronouns?: string; website?: l.UriString; avatar?: l.BlobRef; banner?: l.BlobRef; labels?: l.$Typed | l.Unknown$TypedObject; joinedViaStarterPack?: RepoStrongRef.Main; pinnedPost?: RepoStrongRef.Main; createdAt?: l.DatetimeString; }; export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{ $type: "app.bsky.actor.profile"; displayName?: string; description?: string; pronouns?: string; website?: l.UriString; avatar?: l.BlobRef; banner?: l.BlobRef; labels?: l.$Typed | l.Unknown$TypedObject; joinedViaStarterPack?: RepoStrongRef.Main; pinnedPost?: RepoStrongRef.Main; createdAt?: l.DatetimeString; }>; export declare const $validate: (input: I, options?: l.ValidateOptions) => I & { $type: "app.bsky.actor.profile"; displayName?: string; description?: string; pronouns?: string; website?: l.UriString; avatar?: l.BlobRef; banner?: l.BlobRef; labels?: l.$Typed | l.Unknown$TypedObject; joinedViaStarterPack?: RepoStrongRef.Main; pinnedPost?: RepoStrongRef.Main; createdAt?: l.DatetimeString; }; export declare const $safeValidate: (input: I, options?: l.ValidateOptions) => l.ValidationResult | l.Unknown$TypedObject; joinedViaStarterPack?: RepoStrongRef.Main; pinnedPost?: RepoStrongRef.Main; createdAt?: l.DatetimeString; }>; //# sourceMappingURL=profile.defs.d.ts.map