import { PathSpec } from '../../types.ts'; import { type FlagValue } from '../spec/types.ts'; export declare const NEVER_MATCH = "(?!)"; export declare function patternArg(texts: readonly string[], flags: Record): string | null; export interface PatternResolution { pattern: string | null; neverMatch: boolean; error: string | null; } export declare function resolvePattern(name: string, texts: readonly string[], flags: Record, paths: readonly PathSpec[], mountPrefix: string | null | undefined, stream: (p: PathSpec) => AsyncIterable): Promise; export declare function mergePatternList(pattern: string | null, fileData: Uint8Array | null): string | null; export declare function compilePattern(pattern: string, ignoreCase?: boolean, fixedString?: boolean, wholeWord?: boolean, basic?: boolean): RegExp; //# sourceMappingURL=grep_pattern.d.ts.map