github.com/jfrog/frogbot@v1.1.1-0.20231221090046-821a26f50338/action/node_modules/simple-git/dist/src/lib/tasks/grep.d.ts (about) 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'>;