import { type PermissionListDto, type RoleListDto, type ApplicationDetailDto } from '@/services/api/adminApi';
export interface PermissionWithRoles {
    permission: PermissionListDto;
    roles: RoleListDto[];
}
export interface RoleWithPermissions {
    role: RoleListDto;
    permissions: PermissionListDto[];
}
export interface UseApplicationPermissionsReturn {
    roles: RoleListDto[];
    permissions: PermissionListDto[];
    permissionsWithRoles: PermissionWithRoles[];
    rolesWithAppAccess: RoleWithPermissions[];
    loadPermissionsData: (application: ApplicationDetailDto) => Promise<void>;
    loadRolesData: () => Promise<void>;
}
export declare function useApplicationPermissions(): UseApplicationPermissionsReturn;
//# sourceMappingURL=useApplicationPermissions.d.ts.map