import type { PermissionString } from "../types/permission-registry";
export interface TeamPermissions {
    roleId: string;
    permissions: Set<PermissionString>;
}
interface PermissionStore {
    teamPermissions: Map<number, TeamPermissions>;
    setTeamPermissions: (permissions: Record<number, {
        roleId: string;
        permissions: PermissionString[];
    }>) => void;
    hasPermission: (teamId: number, permission: PermissionString) => boolean;
    hasPermissions: (teamId: number, permissions: PermissionString[]) => boolean;
}
export declare const usePermissionStore: import("zustand").UseBoundStore<import("zustand").StoreApi<PermissionStore>>;
export {};
//# sourceMappingURL=permission-store.d.ts.map