///
import AnchorFileModel from './models/AnchorFileModel';
/**
* Class containing Anchor File related operations.
*/
export default class AnchorFile {
/**
* Parses and validates the given anchor file buffer.
* @throws `SidetreeError` if failed parsing or validation.
*/
static parseAndValidate(anchorFileBuffer: Buffer, maxOperationsPerBatch: number): Promise;
/**
* Checkes to see if there are duplicates in the given array.
*/
static hasDuplicates(array: Array): boolean;
/**
* Creates a buffer from the input so that the buffer can be persisted.
*/
static createBufferFromAnchorFileModel(anchorFileModel: AnchorFileModel): Promise;
}