import { LanguageKey } from '../../utils'; import { AccountFormat } from './account'; import { AccountImport } from './accountImport'; export declare class DecodeInvalid extends Error { } export declare class DecodeInvalidName extends DecodeInvalid { name: string; } export declare class DecodeFailed extends Error { decoder: string; constructor(message?: string, decoder?: string); } export type AccountEncodingOptions = { language?: LanguageKey; }; export type AccountDecodingOptions = { name?: string; format?: AccountFormat; }; export type AccountEncoder = { encode(value: AccountImport, options?: AccountEncodingOptions): string; decode(value: string, options?: AccountDecodingOptions): AccountImport; }; //# sourceMappingURL=encoder.d.ts.map