import { l } from "@atproto/lex-schema"; declare const $nsid = "com.atproto.sync.listRepos"; type $nsid = typeof $nsid; export { $nsid }; export declare const $params: l.ParamsSchema<{ readonly limit: l.OptionalSchema>; readonly cursor: l.OptionalSchema>; }>; export type $Params = l.InferOutput; export declare const $output: l.Payload<"application/json", l.ObjectSchema<{ cursor: l.OptionalSchema>; repos: l.ArraySchema>>; }>>; export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Enumerates all the DID, rev, and commit CID for all repos hosted by this service. Does not require auth; implemented by PDS and Relay. */ declare const main: l.Query<"com.atproto.sync.listRepos", l.ParamsSchema<{ readonly limit: l.OptionalSchema>; readonly cursor: l.OptionalSchema>; }>, l.Payload<"application/json", l.ObjectSchema<{ cursor: l.OptionalSchema>; repos: l.ArraySchema>>; }>>, undefined>; export { main }; declare const $lxm = "com.atproto.sync.listRepos"; type $lxm = typeof $lxm; export { $lxm }; type Repo = { $type?: "com.atproto.sync.listRepos#repo"; "did": l.DidString; /** * Current repo commit CID */ "head": l.CidString; "rev": l.TidString; "active"?: boolean; /** * If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. */ "status"?: "takendown" | "suspended" | "deleted" | "deactivated" | "desynchronized" | "throttled" | l.UnknownString; }; export type { Repo }; declare const repo: l.TypedObjectSchema<"com.atproto.sync.listRepos#repo", l.Validator>; export { repo }; //# sourceMappingURL=listRepos.defs.d.ts.map