/** Shape shared by all built-in model URL constants. */ export type ModelUrls = Readonly<{ detection: string; recognition: string; charactersDictionary: string; }>; /** Base URL for model files on GitHub. */ export declare const MODEL_BASE_URL = "https://media.githubusercontent.com/media/PT-Perkasa-Pilar-Utama/ppu-paddle-ocr-models/main"; /** Base URL for dictionary files on GitHub. */ export declare const DICT_BASE_URL = "https://raw.githubusercontent.com/PT-Perkasa-Pilar-Utama/ppu-paddle-ocr-models/main"; /** PP-OCRv6 small (default): 50+ languages, best accuracy/speed balance. */ export declare const V6_SMALL_MODEL: ModelUrls; /** PP-OCRv6 medium: Server-grade, +5.1% accuracy vs v5 server. */ export declare const V6_MEDIUM_MODEL: ModelUrls; /** PP-OCRv6 tiny: Fastest, 6.1× vs v5 mobile (Apple M4), smaller dictionary. */ export declare const V6_TINY_MODEL: ModelUrls; /** PP-OCRv5 English mobile. */ export declare const V5_EN_MOBILE_MODEL: ModelUrls; /** PP-OCRv5 English mobile with INT8 quantization. */ export declare const V5_EN_MOBILE_INT8_MODEL: ModelUrls; /** PP-OCRv5 English server. */ export declare const V5_EN_SERVER_MODEL: ModelUrls; /** PP-OCRv5 mobile. */ export declare const V5_MOBILE_MODEL: ModelUrls; /** PP-OCRv5 server. */ export declare const V5_SERVER_MODEL: ModelUrls; /** PP-OCRv4 English mobile. */ export declare const V4_EN_MOBILE_MODEL: ModelUrls; /** PP-OCRv4 mobile. */ export declare const V4_MOBILE_MODEL: ModelUrls; /** PP-OCRv4 server. */ export declare const V4_SERVER_MODEL: ModelUrls; /** PP-OCRv4 server for documents. */ export declare const V4_SERVER_DOC_MODEL: ModelUrls; /** PP-OCRv3 mobile recognition (paired with the v5 mobile detector — see note above). */ export declare const V3_MOBILE_MODEL: ModelUrls; /** PP-OCRv3 Japanese mobile recognition (paired with the v5 mobile detector — see note above). */ export declare const V3_JAPANESE_MOBILE_MODEL: ModelUrls; /** PP-OCRv5 Arabic mobile. */ export declare const V5_ARABIC_MOBILE_MODEL: ModelUrls; /** PP-OCRv5 Cyrillic mobile. */ export declare const V5_CYRILLIC_MOBILE_MODEL: ModelUrls; /** PP-OCRv5 Devanagari mobile. */ export declare const V5_DEVANAGARI_MOBILE_MODEL: ModelUrls; /** PP-OCRv5 Greek mobile. */ export declare const V5_GREEK_MOBILE_MODEL: ModelUrls; /** PP-OCRv5 Eslav mobile. */ export declare const V5_ESLAV_MOBILE_MODEL: ModelUrls; /** PP-OCRv5 Korean mobile. */ export declare const V5_KOREAN_MOBILE_MODEL: ModelUrls; /** PP-OCRv5 Latin mobile. */ export declare const V5_LATIN_MOBILE_MODEL: ModelUrls; /** PP-OCRv5 Tamil mobile. */ export declare const V5_TAMIL_MOBILE_MODEL: ModelUrls; /** PP-OCRv5 Telugu mobile. */ export declare const V5_TELUGU_MOBILE_MODEL: ModelUrls; /** PP-OCRv5 Thai mobile. */ export declare const V5_THAI_MOBILE_MODEL: ModelUrls; /** Default model (PP-OCRv6 small). */ export declare const DEFAULT_MODEL: ModelUrls; /** @deprecated Use {@link DEFAULT_MODEL} instead. */ export declare const DEFAULT_MODEL_URLS: ModelUrls; /** Valid preset key for {@link MODEL_PRESETS}. */ export type ModelPreset = "v6-small" | "v6-medium" | "v6-tiny" | "v5-en-mobile" | "v5-en-mobile-int8" | "v5-en-server" | "v5-mobile" | "v5-server" | "v5-arabic-mobile" | "v5-cyrillic-mobile" | "v5-devanagari-mobile" | "v5-greek-mobile" | "v5-eslav-mobile" | "v5-korean-mobile" | "v5-latin-mobile" | "v5-tamil-mobile" | "v5-telugu-mobile" | "v5-thai-mobile" | "v4-en-mobile" | "v4-mobile" | "v4-server" | "v4-server-doc" | "v3-mobile" | "v3-japanese-mobile"; /** * Kebab-case preset keys mapped to their model URL bundle, for name-based * selection (e.g. the CLI `--model` flag). Mirrors the exported `*_MODEL` * constants one-to-one. */ export declare const MODEL_PRESETS: Readonly>;