import { l } from '@atproto/lex'; declare const $nsid = "chat.bsky.actor.declaration"; export { $nsid }; /** A declaration of a Bluesky chat account. */ type Main = { $type: 'chat.bsky.actor.declaration'; allowIncoming: 'all' | 'none' | 'following' | l.UnknownString; }; export type { Main }; /** A declaration of a Bluesky chat account. */ declare const main: l.RecordSchema<"literal:self", "chat.bsky.actor.declaration", l.Validator, Omit>>; export { main }; export declare const $isTypeOf: (value: TValue) => value is l.TypedRecord<"chat.bsky.actor.declaration", TValue>, $build: { (input: Omit, "$type">): { allowIncoming: "all" | "none" | "following" | l.UnknownString; $type: "chat.bsky.actor.declaration"; }; (input: Omit, "$type">): { allowIncoming: "all" | "none" | "following" | l.UnknownString; $type: "chat.bsky.actor.declaration"; }; }, $type: "chat.bsky.actor.declaration"; export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is { allowIncoming: "all" | "none" | "following" | l.UnknownString; $type: "chat.bsky.actor.declaration"; }, $check: (input: unknown, options?: l.ValidateOptions) => void, $cast: (input: I, options?: l.ValidateOptions) => I & { allowIncoming: "all" | "none" | "following" | l.UnknownString; $type: "chat.bsky.actor.declaration"; }, $ifMatches: (input: I, options?: l.ValidateOptions) => (I & { allowIncoming: "all" | "none" | "following" | l.UnknownString; $type: "chat.bsky.actor.declaration"; }) | undefined, $matches: (input: I, options?: l.ValidateOptions) => input is I & { allowIncoming: "all" | "none" | "following" | l.UnknownString; $type: "chat.bsky.actor.declaration"; }, $parse: (input: unknown, options?: l.ParseOptions) => { allowIncoming: "all" | "none" | "following" | l.UnknownString; $type: "chat.bsky.actor.declaration"; }, $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{ allowIncoming: "all" | "none" | "following" | l.UnknownString; $type: "chat.bsky.actor.declaration"; }>, $validate: (input: I, options?: l.ValidateOptions) => I & { allowIncoming: "all" | "none" | "following" | l.UnknownString; $type: "chat.bsky.actor.declaration"; }, $safeValidate: (input: I, options?: l.ValidateOptions) => l.ValidationResult; //# sourceMappingURL=declaration.defs.d.ts.map