import type { Identifier, ObjectPrettify } from "typeforge"; import type { GroupAuditLogActionType, PrettifiedGroupAuditLogsData, PrettifiedGroupJoinRequests, PrettifiedGroupWallPostsData_V2 } from "../../apis/classic/groups/groups.types"; import { PrettifiedGroupTransactionHistoryData } from "../../apis/classic/economy/economy.types"; import { OpenbloxConfig } from "../../config"; export type ClassicGroups_Events = { "auditLog": PrettifiedGroupAuditLogsData[number]; "joinRequest": ObjectPrettify; "wallPost": ObjectPrettify; "transaction:sale": ObjectPrettify>; "transaction:advanceRebate": ObjectPrettify>; }; type EventType = keyof ClassicGroups_Events; export declare const ClassicGroups: (this: OpenbloxConfig | void, groupId: Identifier) => Promise<{ on: (eventName: Name, handlerFn: (data: ClassicGroups_Events[Name]) => any) => Name extends EventType ? Promise : never; processJoinRequests: (handlerFn: (req: ClassicGroups_Events["joinRequest"]) => Promise) => Promise; }>; export {};