import { EitherAsync } from 'purify-ts/EitherAsync'; import { QueryRequest, StoreId } from './request.model'; export interface ExtraValidators { getStoreExist: (storeId: StoreId) => EitherAsync; } export declare const validateRequest: (extraValidators: ExtraValidators) => (request: any) => EitherAsync>;