/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import { type TeamAccessSettings, type TeamMemberRole } from "@/lib/team-shape";
export interface UseTeamAccessResult {
    settings: TeamAccessSettings | null;
    error: string | null;
    actionError: string | null;
    loading: boolean;
    mutating: boolean;
    reload(): Promise<void>;
    inviteMember(email: string, role: TeamMemberRole): Promise<TeamAccessSettings>;
    updateMember(memberId: string, role: TeamMemberRole): Promise<TeamAccessSettings>;
    removeMember(memberId: string): Promise<TeamAccessSettings>;
    clearActionError(): void;
}
export declare function useTeamAccess(): UseTeamAccessResult;
