import { ExecException } from "child_process"; type StringSearchOptions = { string: string; }; type RegexSearchOptions = { regex: string; }; type LocatorOptions = StringSearchOptions | RegexSearchOptions; export type Options = LocatorOptions & { globs?: Array; fileType?: string | Array; multiline?: boolean; }; export type RipgrepJsonSubmatch = { match: { text: string; }; start: number; end: number; }; export type RipGrepJsonMatch = { type: "match"; data: { path: { text: string; }; lines: { text: string; }; line_number: number; absolute_offset: number; submatches: Array; }; }; export type Match = RipGrepJsonMatch["data"]; export declare class RipGrepError { error: ExecException; stderr: string; constructor(error: ExecException, stderr: string); get message(): string; } export {}; //# sourceMappingURL=types.d.ts.map