export declare function getLedgerErrorCodes(err?: any): { errorMessage: string | null; defaultErrorMessage: string; };