/** * Chinese-specific patterns for receipt parsing * Supports both Simplified (简体) and Traditional (繁體) Chinese */ /** * Receipt number keywords in Chinese */ export declare const RECEIPT_NUMBER_KEYWORDS: string[]; /** * Shop/Store name indicators */ export declare const SHOP_NAME_KEYWORDS: string[]; /** * Date keywords */ export declare const DATE_KEYWORDS: string[]; /** * Time keywords */ export declare const TIME_KEYWORDS: string[]; /** * Amount/Total keywords */ export declare const AMOUNT_KEYWORDS: { TOTAL: string[]; SUBTOTAL: string[]; TAX: string[]; }; /** * Item count keywords */ export declare const ITEM_COUNT_KEYWORDS: string[]; /** * Pattern to extract receipt number with Chinese keywords */ export declare const RECEIPT_NUMBER_PATTERN: RegExp; /** * Pattern to extract amounts with Chinese keywords */ export declare const AMOUNT_PATTERN: RegExp; /** * Pattern to extract date with Chinese format */ export declare const DATE_PATTERN: RegExp; /** * Pattern to extract time with Chinese format */ export declare const TIME_PATTERN: RegExp; /** * Common Chinese receipt line item patterns */ export declare const LINE_ITEM_PATTERN: RegExp; /** * Extract shop name from Chinese text * Usually appears at the top of the receipt */ export declare function extractShopName(text: string): string | null; /** * Count items from Chinese receipt text */ export declare function countItems(text: string): number; //# sourceMappingURL=chinese.d.ts.map