statement-parser-fab
Version:
Parse bank and credit card statements. Updated fork with FAB (First Abu Dhabi Bank) support and maintained dependencies.
13 lines (12 loc) • 837 B
TypeScript
export type BaseParserOptions = {
/**
* YearPrefix Most statements don't include the full year so we must pass in the first two
* numbers of the year so we know what millennium we're in. Example: for the year 2010, use 20.
* For 1991, use 19.
*/
yearPrefix: number;
};
export declare const defaultBaseParserOptions: Required<Readonly<BaseParserOptions>>;
export type CombineWithBaseParserOptions<ParserOptions extends object | undefined = undefined> = Required<Readonly<(ParserOptions extends undefined ? {} : ParserOptions) & BaseParserOptions>>;
export declare function collapseDefaultParserOptions<ParserOptions extends object | undefined = undefined>(inputDefaultParserOptions?: Required<Readonly<ParserOptions>>): CombineWithBaseParserOptions<ParserOptions>;
export type ParserKeyword = string | RegExp;