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