/// 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): AnchorFileModel; /** * Checkes to see if there are duplicates in the given array. */ static hasDuplicates(array: Array): boolean; }