export declare const ID_SEPARATOR = "\0"; export interface IndexHit { uri: string; id: string; } /** * Facade for an index that supports adding items of a given type and returning hits as an array * of uri/id pairs */ export interface TypedIndex { search: (query: string) => Promise>; add: (item: SourceType, uri: string) => Promise; } /** * Interface for the top-level document search index */ export interface SearchIndex { search: (query: string) => Promise; } /** * Collection of Gherkin node ids that matched a search term for a single document, grouped by * node type */ export interface DocumentSearchHits { feature: boolean; background: Array; rule: Array; scenario: Array; step: Array; } export type SearchHits = ReadonlyMap; /** * Collection of Gherkin node ids harvested from executed test cases, grouped by node type * @remarks * In the case of `gherkinDocument`, the values are URIs */ export interface LineageConstraints { gherkinDocument: ReadonlySet; background: ReadonlySet; rule: ReadonlySet; scenario: ReadonlySet; examples: ReadonlySet; example: ReadonlySet; } //# sourceMappingURL=types.d.ts.map