import { InternalRule, PermissionOptionItem, Rule } from './types'; declare const updateRules: (args: { internalRules: InternalRule[]; permissionOptionsMap: Map; idxToUpdate: number; updateType: 'action' | 'module'; newValues: any; onRulesChange: (rules: Rule[]) => void; setInternalRules: (rules: InternalRule[]) => void; setSelectedModuleValues: (values: any) => void; actionProcessor?: (value: PermissionOptionItem[]) => string[]; }) => void; declare const convertRuleToExternalFormat: (rule: any, actionsOverride?: string[], moduleOverride?: any) => any; declare const convertActionsToInternal: (actions: string[], permissionOptionsMap: Map) => any[]; export { updateRules, convertRuleToExternalFormat, convertActionsToInternal };