import { DaoHookShared } from '../../types/core.types.js'; import { DaoHookNamesMongo, MongoDaoParsed } from '../mongo/types/mongoDbTypes.js'; /** Parse all 'for', 'on', 'notFor' and 'notOn' clauses + apply the custom hook interpreter */ export declare function genericHookInterpreter(modelName: string, hookIndex: number, hookName: HookName, hook: DaoHookShared & { hasBeenValidated?: boolean; }, allRoles?: readonly Ctx['role'][]): Promise[HookName]>;