import { IHit } from '../types'; import { HitAbstract, IHitAbstract } from './HitAbstract'; export interface IBatch extends IHitAbstract { hits: HitAbstract[]; } export declare const BATCH = "BATCH"; export interface BatchDTO { type: 'BATCH'; hits: (IHit | undefined)[]; } export declare const ERROR_MESSAGE = "Please check required fields"; export declare class Batch extends HitAbstract implements Omit { private _hits; get hits(): HitAbstract[]; set hits(v: HitAbstract[]); constructor(params: Omit); isReady(): boolean; toApiKeys(): Record; getErrorMessage(): string; }