import { InviteMemberRequest, UpdateMemberRoleRequest } from '../lib/teams/types';
interface UseTeamMembersOptions {
    /**
     * Optional teamId to use instead of context teamId.
     * Useful when viewing a team detail page where the teamId comes from URL.
     */
    teamId?: string;
}
/**
 * Hook to manage team members
 *
 * @param options - Optional configuration including teamId override
 */
export declare function useTeamMembers(options?: UseTeamMembersOptions): {
    members: any;
    isLoading: boolean;
    inviteMember: import("@tanstack/react-query").UseMutateFunction<any, Error, InviteMemberRequest, unknown>;
    inviteMemberAsync: import("@tanstack/react-query").UseMutateAsyncFunction<any, Error, InviteMemberRequest, unknown>;
    isInviting: boolean;
    updateMemberRole: import("@tanstack/react-query").UseMutateFunction<any, Error, {
        memberId: string;
        role: UpdateMemberRoleRequest["role"];
    }, unknown>;
    isUpdatingRole: boolean;
    removeMember: import("@tanstack/react-query").UseMutateFunction<any, Error, string, unknown>;
    isRemovingMember: boolean;
};
export {};
//# sourceMappingURL=useTeamMembers.d.ts.map