import { AladoServerError } from './alado-server-error'; export type AccessControlConfig = { inputProperty: string; transformInputProperty?: (inputPropertyValue: unknown) => T | Promise; compareWithProperty?: string; expectedValue?: T; accessControlHandler?: (inputPropertyValue: unknown) => Promise; } & AladoServerError;