///
import { ReadStream } from "fs";
export declare function fingerprint(document: Document): Promise;
declare type Document = ReadStream;
/** Fingerprints a document so that the same document won't be indexed twice. Chapter 20 (pg.446) of IR book*/
export declare class DocumentFingerPrinterFullHash {
#private;
/** Checks whether the document already exists in storage.
*
*/
has(document: Document | string): Promise;
/** Adds the document fingerprint to some storage mechanism */
add(document: Document): Promise;
}
export declare class NoDocumentFingerPrinter {
#private;
/** Checks whether the document already exists in storage.
*
*/
has(_document: Document | string): Promise;
/** Adds the document fingerprint to some storage mechanism */
add(_document: Document): Promise;
}
export {};
//# sourceMappingURL=DocumentFingerPrinter.d.ts.map