import type { MyExternalAppAccessDto, ExternalAppAccessLevel } from '@/services/api/adminApi';
/**
 * Resolves the current user's effective access to API applications (global permissions +
 * instance-level delegations). Drives UI gating of tabs/actions on the External Applications
 * pages. The backend remains the real authority — this only hides/shows controls.
 */
export declare function useExternalAppAccess(): {
    myAccess: MyExternalAppAccessDto | null;
    loading: boolean;
    canRead: (appId: string) => boolean;
    canWrite: (appId: string) => boolean;
    delegationLevel: (appId: string) => ExternalAppAccessLevel | null;
};
//# sourceMappingURL=useExternalAppAccess.d.ts.map