1 | import { SimpleGit } from '../../../typings';
|
2 | export interface GitGrepQuery extends Iterable<string> {
|
3 | /** Adds one or more terms to be grouped as an "and" to any other terms */
|
4 | and(...and: string[]): this;
|
5 | /** Adds one or more search terms - git.grep will "or" this to other terms */
|
6 | param(...param: string[]): this;
|
7 | }
|
8 | /**
|
9 | * Creates a new builder for a `git.grep` query with optional params
|
10 | */
|
11 | export declare function grepQueryBuilder(...params: string[]): GitGrepQuery;
|
12 | export default function (): Pick<SimpleGit, 'grep'>;
|