import { CustomFormatsT } from "./t";
/**
* Default ISO 8583 field definitions. Can overridden by passing the custom formats to the Main's constructor
*
* Field Config Options
* - Content Type
* - Label
* - Length type
* - Maximum Length
*
*
* Field data types
* - Binary fields i.e. fields 52, 53, 127.29 and 127.32, must be encoded in hexadecimal text format.
* - All other fields must be formatted as ASCII text.
* - a --> Alphabetic characters, A through Z and a through z
* - n --> Numeric digits, 0 through 9
* - p --> Pad character, space
* - s --> Special characters, i.e. other printable
* - an --> Alphabetic and numeric characters
* - as --> Alphabetic and special characters
* - ns --> Numeric and special characters
* - anp --> Alphabetic, numeric and pad characters
* - ans --> Alphabetic, numeric and special characters
* - YY --> Year, 00 through 99
* - x --> C for credit, D for debit, always associated with a numeric amount field, i.e. x+n16 means a prefix of C or D followed by 16 numeric characters.
* - b --> Binary representation of data
* - z --> Track 2 as defined in ISO 7813
* - ..17 --> Variable length up to 17 characters, containing an additional 2 or 3 characters at the start of the data indicating the number of characters following to the end of the field
*
*
* Date Formats
* - CCYY --> Year, 0001 through 9999
* - MM --> Month, 01 through 12
* - DD --> Day, 01 through 31
* - hh --> Hour, 00 through 23
* - mm --> Minute, 00 through 59
* - ss --> Second, 00 through 59
*
*
* Length Types
* - LL --> Length of variable data element that follows, 01 through 99
* - LLL --> Length of variable data element that follows, 001 through 999
* - LLLLL --> Length of variable data element that follows, 00001 through 99999
* - LLLLLL --> Length of variable data element that follows, 000001 through 999999
* - VAR --> Variable length data element
*
- 3 --> Fixed length of 3 characters
*
* @module Formats
* @example {
'0': {
ContentType: 'n',
Label: 'Message Type Indicator',
LenType: 'fixed',
MaxLen: 4
},
'1': {
ContentType: 'b',
Label: 'Bitmap',
LenType: 'fixed',
MaxLen: 8
}
}
*/
declare const Formats: CustomFormatsT;
export default Formats;