import { EsPit } from "./elastic/es-pit.interface";

/**
 * Structure of search metadata
 */
export interface SearchInfo {
    /**
     * Previous search saved PIT
     */
    pit: EsPit;

    /**
     * Special tiebreaker used by Elasticsearch.
     * Indicates the starting point of next search
     */
    tiebreaker: unknown[];
}