import ProgressBar from '../../console/progressBar.js';
import File from '../../types/files/file.js';
import IndexedFiles from '../../types/indexedFiles.js';
import Options from '../../types/options.js';
import Module from '../module.js';
/**
 * This class indexes {@link File}s by their {@link File.hashCode}, and sorts duplicate files by a
 * set of preferences.
 */
export default class ROMIndexer extends Module {
    protected readonly options: Options;
    constructor(options: Options, progressBar: ProgressBar);
    /**
     * Index files.
     */
    index(files: File[]): IndexedFiles;
    private sortMap;
    /**
     * This ordering should match {@link FileFactory#entriesFromArchiveExtension}
     */
    private static archiveEntryPriority;
}
