import { Constructable, Entity } from './entity'; export declare type BatchResponse = ReadResponse | WriteResponses | ErrorResponse; export interface WriteResponses { responses: WriteResponse[]; isSuccess: () => boolean; } export interface ErrorResponse { httpCode: number; body: Record; isSuccess: () => boolean; } export interface ReadResponse { httpCode: number; body: Record; type: Constructable; as: (constructor: Constructable) => T[]; isSuccess: () => boolean; } export interface WriteResponse { httpCode: number; body?: Record; type?: Constructable; as?: (constructor: Constructable) => T; } //# sourceMappingURL=batch-response.d.ts.map