import { l } from '@atproto/lex'; declare const $nsid = "com.atproto.sync.listRepos"; export { $nsid }; /** 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 }; export type $Params = l.InferMethodParams; export type $Output = l.InferMethodOutput; export type $OutputBody = l.InferMethodOutputBody; export declare const $lxm: "com.atproto.sync.listRepos", $params: l.ParamsSchema<{ readonly limit: l.OptionalSchema>; readonly cursor: l.OptionalSchema>; }>, $output: l.Payload<"application/json", l.ObjectSchema<{ cursor: l.OptionalSchema>; repos: l.ArraySchema>>; }>>; 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