import type { MyPermissionsPageProps } from "./MyPermissionsPage.types"; type CategoryPresentation = { label: string; icon: string; }; /** * Business logic hook for MyPermissionsPage * Handles search, filtering, and category expansion */ declare const useMyPermissionsPage: (props: MyPermissionsPageProps) => { data: { myPermissions: { roles: { id: string; name: string; description: string | null; slug?: string | null | undefined; }[]; userId: string; terreiroId: string; permissions: { id: string; code: string; name: string; description: string | null; category: string; }[]; stats: { totalPermissions: number; categoriesCount: number; rolesCount: number; }; hasFullAccess: boolean; permissionsByCategory: Record; } | null | undefined; isLoading: boolean; error: string | null; searchTerm: string; expandedCategories: Set; filteredPermissions: { id: string; code: string; name: string; description: string | null; category: string; }[]; filteredCategories: Record; sortedCategoryKeys: string[]; getCategoryPresentation: (category: string) => CategoryPresentation; hasData: boolean; hasPermissions: boolean; hasSearch: boolean; hasResults: boolean; }; fns: { setSearchTerm: import("react").Dispatch>; handleToggleCategory: (category: string) => void; handleExpandAll: () => void; handleCollapseAll: () => void; handleClearSearch: () => void; handleBack: () => void; }; }; export default useMyPermissionsPage;