import ErrorWrapper from './errors/ErrorWrapper'; import { Options } from './types'; export default class extends ErrorWrapper { constructor(options?: Options); decodeContenthash(encoded: string): { decoded: string; protocolType: string; }; encodeContenthash(text: string): string; }