import { l } from "@atproto/lex-schema"; import * as SafelinkDefs from "./defs.defs.js"; declare const $nsid = "tools.ozone.safelink.syncSource"; type $nsid = typeof $nsid; export { $nsid }; export declare const $params: l.ParamsSchema<{}>; export type $Params = l.InferOutput; export declare const $input: l.Payload<"application/json", l.ObjectSchema<{ source: l.StringSchema<{ readonly maxLength: 128; }>; rules: l.ArraySchema>>; }>>; export type $Input = l.InferPayload; export type $InputBody = l.InferPayloadBody; export declare const $output: l.Payload<"application/json", l.ObjectSchema<{ added: l.IntegerSchema; updated: l.IntegerSchema; removed: l.IntegerSchema; events: l.IntegerSchema; }>>; export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Replace stored rules for one source from a complete snapshot. Existing rules owned by another source remain unchanged. */ declare const main: l.Procedure<"tools.ozone.safelink.syncSource", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{ source: l.StringSchema<{ readonly maxLength: 128; }>; rules: l.ArraySchema>>; }>>, l.Payload<"application/json", l.ObjectSchema<{ added: l.IntegerSchema; updated: l.IntegerSchema; removed: l.IntegerSchema; events: l.IntegerSchema; }>>, undefined>; export { main }; declare const $lxm = "tools.ozone.safelink.syncSource"; type $lxm = typeof $lxm; export { $lxm }; type SourceRule = { $type?: "tools.ozone.safelink.syncSource#sourceRule"; "url": string; "pattern": SafelinkDefs.PatternType; "action": SafelinkDefs.ActionType; "reason": SafelinkDefs.ReasonType; }; export type { SourceRule }; declare const sourceRule: l.TypedObjectSchema<"tools.ozone.safelink.syncSource#sourceRule", l.Validator>; export { sourceRule }; //# sourceMappingURL=syncSource.defs.d.ts.map