export interface AddBookingGroupMemberInput { groupId: string; bookingId: string; role?: "primary" | "shared"; } export interface RemoveBookingGroupMemberInput { groupId: string; bookingId: string; } /** * Add or remove a booking from a group. Accepts the group id per-call so the * same hook instance can be reused across flows (e.g. create-then-add, where * the target group id isn't known at hook construction time). */ export declare function useBookingGroupMemberMutation(): { add: import("@tanstack/react-query").UseMutationResult<{ id: string; groupId: string; bookingId: string; role: "primary" | "shared"; createdAt: string; }, Error, AddBookingGroupMemberInput, unknown>; remove: import("@tanstack/react-query").UseMutationResult<{ success: boolean; }, Error, RemoveBookingGroupMemberInput, unknown>; };