import { default as React, ReactNode } from 'react';

type PermissionActions = "canEdit" | "canView" | "canAdd" | "canDelete" | "canAddForOthers" | "canViewById";
type SubModulePermissions = Partial<Record<PermissionActions, boolean>>;
type ModulePermissions = SubModulePermissions & Record<string, SubModulePermissions>;
export interface PermissionsContextType {
    [module: string]: ModulePermissions;
}
interface PermissionsProviderProps {
    children: ReactNode;
}
export declare const PermissionsContext: React.Context<PermissionsContextType>;
export declare const PermissionsProvider: React.FC<PermissionsProviderProps>;
export {};
