import { EApiControllerGetListQueryPaginationMode } from '../../enum/decorator/api';
import { EErrorStringAction } from '../../enum/utility';
import { TApiException } from '../../type/class';
import { TApiControllerGetListQuery } from '../../type/decorator/api/controller';
export interface IApiRequestValidator<E, M extends EApiControllerGetListQueryPaginationMode = EApiControllerGetListQueryPaginationMode.PAGE> {
    errorType: EErrorStringAction;
    exception: TApiException;
    validationFunction: (entity: Partial<E> | TApiControllerGetListQuery<E, M>) => boolean | Promise<boolean>;
}
