import { l } from '@atproto/lex'; import * as RichtextFacet from '../richtext/facet.defs.js'; declare const $nsid = "app.bsky.graph.starterpack"; export { $nsid }; /** Record defining a starter pack of actors and feeds for new users. */ type Main = { $type: 'app.bsky.graph.starterpack'; /** * Display name for starter pack; can not be empty. */ name: string; description?: string; descriptionFacets?: RichtextFacet.Main[]; /** * Reference (AT-URI) to the list record. */ list: l.AtUriString; feeds?: FeedItem[]; createdAt: l.DatetimeString; }; export type { Main }; /** Record defining a starter pack of actors and feeds for new users. */ declare const main: l.RecordSchema<"tid", "app.bsky.graph.starterpack", l.Validator, Omit>>; export { main }; export declare const $type = "app.bsky.graph.starterpack"; export declare const $isTypeOf: (value: TValue) => value is l.TypedRecord<"app.bsky.graph.starterpack", TValue>; export declare const $build: { (input: Omit, "$type">): { list: l.AtUriString; description?: string | undefined; createdAt: l.DatetimeString; descriptionFacets?: RichtextFacet.Main[] /** * Reference (AT-URI) to the list record. */ | undefined; name: string; feeds?: FeedItem[] | undefined; $type: "app.bsky.graph.starterpack"; }; (input: Omit, "$type">): { list: l.AtUriString; description?: string | undefined; createdAt: l.DatetimeString; descriptionFacets?: RichtextFacet.Main[] /** * Reference (AT-URI) to the list record. */ | undefined; name: string; feeds?: FeedItem[] | undefined; $type: "app.bsky.graph.starterpack"; }; }; export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is { list: l.AtUriString; description?: string | undefined; createdAt: l.DatetimeString; descriptionFacets?: RichtextFacet.Main[] /** * Reference (AT-URI) to the list record. */ | undefined; name: string; feeds?: FeedItem[] | undefined; $type: "app.bsky.graph.starterpack"; }; export declare const $check: (input: unknown, options?: l.ValidateOptions) => void; export declare const $cast: (input: I, options?: l.ValidateOptions) => I & { list: l.AtUriString; description?: string | undefined; createdAt: l.DatetimeString; descriptionFacets?: RichtextFacet.Main[] /** * Reference (AT-URI) to the list record. */ | undefined; name: string; feeds?: FeedItem[] | undefined; $type: "app.bsky.graph.starterpack"; }; export declare const $ifMatches: (input: I, options?: l.ValidateOptions) => (I & { list: l.AtUriString; description?: string | undefined; createdAt: l.DatetimeString; descriptionFacets?: RichtextFacet.Main[] /** * Reference (AT-URI) to the list record. */ | undefined; name: string; feeds?: FeedItem[] | undefined; $type: "app.bsky.graph.starterpack"; }) | undefined; export declare const $matches: (input: I, options?: l.ValidateOptions) => input is I & { list: l.AtUriString; description?: string | undefined; createdAt: l.DatetimeString; descriptionFacets?: RichtextFacet.Main[] /** * Reference (AT-URI) to the list record. */ | undefined; name: string; feeds?: FeedItem[] | undefined; $type: "app.bsky.graph.starterpack"; }; export declare const $parse: (input: unknown, options?: l.ParseOptions) => { list: l.AtUriString; description?: string | undefined; createdAt: l.DatetimeString; descriptionFacets?: RichtextFacet.Main[] /** * Reference (AT-URI) to the list record. */ | undefined; name: string; feeds?: FeedItem[] | undefined; $type: "app.bsky.graph.starterpack"; }; export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{ list: l.AtUriString; description?: string | undefined; createdAt: l.DatetimeString; descriptionFacets?: RichtextFacet.Main[] /** * Reference (AT-URI) to the list record. */ | undefined; name: string; feeds?: FeedItem[] | undefined; $type: "app.bsky.graph.starterpack"; }>; export declare const $validate: (input: I, options?: l.ValidateOptions) => I & { list: l.AtUriString; description?: string | undefined; createdAt: l.DatetimeString; descriptionFacets?: RichtextFacet.Main[] /** * Reference (AT-URI) to the list record. */ | undefined; name: string; feeds?: FeedItem[] | undefined; $type: "app.bsky.graph.starterpack"; }; export declare const $safeValidate: (input: I, options?: l.ValidateOptions) => l.ValidationResult; type FeedItem = { $type?: 'app.bsky.graph.starterpack#feedItem'; uri: l.AtUriString; }; export type { FeedItem }; declare const feedItem: l.TypedObjectSchema<"app.bsky.graph.starterpack#feedItem", l.Validator>; export { feedItem }; //# sourceMappingURL=starterpack.defs.d.ts.map