/** * @public */ export interface PermissionDetail { permission: string; granted: 'true' | 'false' | 'condition'; } /** * @public */ export interface PermissionsResult { isAllowed: boolean; isLoading: boolean; details: PermissionDetail[]; } /** * Resolves whether the current user has all of the specified IAM permissions. * Results are cached for the lifetime of the page — permissions are never refetched automatically. * The `"condition"` grant state (management-zone scoped) is treated as allowed. * * @param permissions - IAM permission strings to check, e.g. `['state:app-states:write']` * @public */ export declare function usePermissions(permissions: string[]): PermissionsResult;