/** * Greek gematria (isopsephy) calculations. * * SOURCES (Chicago format, all public domain): * * Gow, James. "The Greek Numerical Alphabet." The Journal of Philology 12 (1883): 278-284. * https://archive.org/details/journalphilolog12teleduof * * Heath, Thomas L. Diophantus of Alexandria: A Study in the History of Greek Algebra. * Cambridge: Cambridge University Press, 1910. * https://archive.org/details/diophaborr00teleduof * * Heath, Thomas L. A History of Greek Mathematics. 2 vols. Oxford: Clarendon Press, 1921. * https://archive.org/details/historyofgreekma01teleduof * * Hippolytus. Refutation of All Heresies. Translated by J. H. MacMahon. Edinburgh, 1868. * Book IV, Chapter 14: Pythagoras to Telauges (πυθμήν / digital root method). * https://archive.org/details/antenicenefathertel05robe * * VERIFIED EXAMPLES: * - λογος (logos): λ=30 + ο=70 + γ=3 + ο=70 + ς=200 = 373 ✓ * - θεος (theos): θ=9 + ε=5 + ο=70 + ς=200 = 284 ✓ * - ιησους (Iesous): ι=10 + η=8 + σ=200 + ο=70 + υ=400 + ς=200 = 888 ✓ * * See: sources/isopsephy/SYSTEMS_BY_SOURCE.md for complete documentation */ import type { GematriaValues } from '../models/types.js'; /** * Check if text contains Greek characters. */ export declare function isGreek(text: string): boolean; /** * Remove diacritical marks from Greek text. * Iota subscripts are first converted to adscripts so they count for gematria. */ export declare function removeDiacritics(text: string): string; /** * Extract only Greek letters from text. */ export declare function extractGreekLetters(text: string): string; /** * Compute standard Greek isopsephy value. */ export declare function computeStandard(text: string): number; /** * Compute ordinal Greek value. * * Uses the standard 24-letter Greek alphabet (alpha to omega). * Archaic letters (stigma Ϛ/ϛ, koppa Ϟ/ϟ, sampi Ϡ/ϡ) have standard isopsephy * values but no ordinal position in the alphabet. * * @param text - The Greek text to calculate * @param strict - If true (default), throws an error when archaic letters are encountered. * If false, silently skips archaic letters (treats them as 0). * @throws {Error} When archaic letters are detected and strict mode is enabled */ export declare function computeOrdinal(text: string, strict?: boolean): number; /** * Compute reduced Greek value (digital root of standard). */ export declare function computeReduced(text: string): number; /** * Compute all Greek gematria values for the given text. */ export declare function computeGreek(text: string): GematriaValues; //# sourceMappingURL=greek.d.ts.map