/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @noformat
 * @oncall react_native
 * @generated SignedSource<<dc063c7e351d5c09a5ad65d09b5b6b2a>>
 *
 * This file was translated from Flow by scripts/generateTypeScriptDefinitions.js
 * Original file: packages/metro-file-map/src/watchers/RecrawlWarning.js
 * To regenerate, run:
 *   js1 build metro-ts-defs (internal) OR
 *   yarn run build-ts-defs (OSS) 
 */

/**
 * Originally vendored from
 * https://github.com/amasad/sane/blob/64ff3a870c42e84f744086884bf55a4f9c22d376/src/utils/recrawl-warning-dedupe.js
 */

declare class RecrawlWarning {
  static RECRAWL_WARNINGS: Array<RecrawlWarning>;
  static REGEXP: RegExp;
  root: string;
  count: number;
  constructor(root: string, count: number);
  static findByRoot(root: string): null | undefined | RecrawlWarning;
  static isRecrawlWarningDupe(warningMessage: unknown): boolean;
}
export default RecrawlWarning;
