// src/app/matched-result.model.ts
export interface Match {
    index: number;
    content: string;
    lineNumber: number;
  }
  
  export interface PatternResult {
    pattern: string;
    matches: Match[];
  }
  
  export interface MatchedResult {
    directoryPath: string;  
    fileName: string;  
    outputFilePath: string;
    content: string;   
    previewContent : string;
    finalContent : string;
    patternResults: PatternResult[];  
    resultCount: number;
    status  : string;
  }

  export interface RegexReplacement {
    directoryPath: string;  
    searchTerm: string;   
    replacementText : string;
    fileType : string;   
    caseInsensitive: boolean;
    singleLine : boolean;
    multiLine : boolean;
    ignoreWhitespace  : boolean;
    explicitCapture : boolean;
  }
  
