import type { MetadataLatest } from '@polkadot/types/interfaces'; import type { Registry } from '@polkadot/types/types'; import type { Errors } from '../types'; /** @internal */ export declare function decorateErrors(_: Registry, { modules }: MetadataLatest, metaVersion: number): Errors;