import { l } from '@atproto/lex'; import * as GraphDefs from './defs.defs.js'; declare const $nsid = "app.bsky.graph.getListsWithMembership"; export { $nsid }; /** Enumerates the lists created by the session user, and includes membership information about `actor` in those lists. Only supports curation and moderation lists (no reference lists, used in starter packs). Requires auth. */ declare const main: l.Query<"app.bsky.graph.getListsWithMembership", l.ParamsSchema<{ readonly actor: l.StringSchema<{ readonly format: "at-identifier"; }>; readonly limit: l.OptionalSchema>; readonly cursor: l.OptionalSchema>; readonly purposes: l.OptionalSchema>>; }>, l.Payload<"application/json", l.ObjectSchema<{ cursor: l.OptionalSchema>; listsWithMembership: l.ArraySchema>>; }>>, undefined>; export { main }; export type $Params = l.InferMethodParams; export type $Output = l.InferMethodOutput; export type $OutputBody = l.InferMethodOutputBody; export declare const $lxm: "app.bsky.graph.getListsWithMembership", $params: l.ParamsSchema<{ readonly actor: l.StringSchema<{ readonly format: "at-identifier"; }>; readonly limit: l.OptionalSchema>; readonly cursor: l.OptionalSchema>; readonly purposes: l.OptionalSchema>>; }>, $output: l.Payload<"application/json", l.ObjectSchema<{ cursor: l.OptionalSchema>; listsWithMembership: l.ArraySchema>>; }>>; /** A list and an optional list item indicating membership of a target user to that list. */ type ListWithMembership = { $type?: 'app.bsky.graph.getListsWithMembership#listWithMembership'; list: GraphDefs.ListView; listItem?: GraphDefs.ListItemView; }; export type { ListWithMembership }; /** A list and an optional list item indicating membership of a target user to that list. */ declare const listWithMembership: l.TypedObjectSchema<"app.bsky.graph.getListsWithMembership#listWithMembership", l.Validator>; export { listWithMembership }; //# sourceMappingURL=getListsWithMembership.defs.d.ts.map