import { l } from '@atproto/lex'; import * as ConvoDefs from '../convo/defs.defs.js'; declare const $nsid = "chat.bsky.group.createGroup"; export { $nsid }; export declare const $params: l.ParamsSchema<{}>; export type $Params = l.InferOutput; export declare const $input: l.Payload<"application/json", l.ObjectSchema<{ members: l.ArraySchema>; name: l.StringSchema<{ readonly minLength: 1; readonly maxGraphemes: 50; readonly maxLength: 500; }>; }>>; export type $Input = l.InferPayload; export type $InputBody = l.InferPayloadBody; export declare const $output: l.Payload<"application/json", l.ObjectSchema<{ convo: l.RefSchema>; }>>; export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Creates a group convo, specifying the members to be added to it. Unlike getConvoForMembers, this isn't idempotent. It will create new groups even if the membership is identical to pre-existing groups. Will create 'request' membership for all members, except the owner who is 'accepted'. */ declare const main: l.Procedure<"chat.bsky.group.createGroup", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{ members: l.ArraySchema>; name: l.StringSchema<{ readonly minLength: 1; readonly maxGraphemes: 50; readonly maxLength: 500; }>; }>>, l.Payload<"application/json", l.ObjectSchema<{ convo: l.RefSchema>; }>>, readonly ["AccountSuspended", "BlockedActor", "BlockedSubject", "NewAccountCannotCreateGroup", "NotFollowedBySender", "RecipientNotFound", "UserForbidsGroups"]>; export { main }; export declare const $lxm = "chat.bsky.group.createGroup"; //# sourceMappingURL=createGroup.defs.d.ts.map