import { l } from '@atproto/lex'; declare const $nsid = "app.bsky.graph.block"; export { $nsid }; /** Record declaring a 'block' relationship against another account. NOTE: blocks are public in Bluesky; see blog posts for details. */ type Main = { $type: 'app.bsky.graph.block'; /** * DID of the account to be blocked. */ subject: l.DidString; createdAt: l.DatetimeString; }; export type { Main }; /** Record declaring a 'block' relationship against another account. NOTE: blocks are public in Bluesky; see blog posts for details. */ declare const main: l.RecordSchema<"tid", "app.bsky.graph.block", l.Validator, Omit>>; export { main }; export declare const $isTypeOf: (value: TValue) => value is l.TypedRecord<"app.bsky.graph.block", TValue>, $build: { (input: Omit, "$type">): { createdAt: l.DatetimeString; subject: l.DidString; $type: "app.bsky.graph.block"; }; (input: Omit, "$type">): { createdAt: l.DatetimeString; subject: l.DidString; $type: "app.bsky.graph.block"; }; }, $type: "app.bsky.graph.block"; export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is { createdAt: l.DatetimeString; subject: l.DidString; $type: "app.bsky.graph.block"; }, $check: (input: unknown, options?: l.ValidateOptions) => void, $cast: (input: I, options?: l.ValidateOptions) => I & { createdAt: l.DatetimeString; subject: l.DidString; $type: "app.bsky.graph.block"; }, $ifMatches: (input: I, options?: l.ValidateOptions) => (I & { createdAt: l.DatetimeString; subject: l.DidString; $type: "app.bsky.graph.block"; }) | undefined, $matches: (input: I, options?: l.ValidateOptions) => input is I & { createdAt: l.DatetimeString; subject: l.DidString; $type: "app.bsky.graph.block"; }, $parse: (input: unknown, options?: l.ParseOptions) => { createdAt: l.DatetimeString; subject: l.DidString; $type: "app.bsky.graph.block"; }, $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{ createdAt: l.DatetimeString; subject: l.DidString; $type: "app.bsky.graph.block"; }>, $validate: (input: I, options?: l.ValidateOptions) => I & { createdAt: l.DatetimeString; subject: l.DidString; $type: "app.bsky.graph.block"; }, $safeValidate: (input: I, options?: l.ValidateOptions) => l.ValidationResult; //# sourceMappingURL=block.defs.d.ts.map