/** * Hebrew Gematria * * Nine letter-value systems derived from primary historical sources: * - Jewish Encyclopedia (1903), "Gematria" article * - Pardes Rimonim (1548), Gate 30, Chapter 8 * * @example * ```typescript * import { hebrew } from '@metaxia/scriptures-core'; * * // Using Hebrew system names (preferred) * hebrew.gematria.misparHechrachi('שלום') // 376 * hebrew.gematria.misparGadol('שלום') // 376 (no finals in this word) * hebrew.gematria.misparKatan('שלום') // 16 * * // With musafi modifier * hebrew.gematria.misparHechrachi('שלום', { musafi: 'letters' }) // 380 * ``` */ import type { GematriaOptions, GematriaResult } from './types.js'; import { SYSTEMS } from './systems.js'; export type { GematriaOptions, GematriaResult, GematriaSystem, LetterValueTable, SourceCitation } from './types.js'; export { SYSTEMS } from './systems.js'; /** * Extract only Hebrew consonants from text. */ export declare function extractLetters(text: string): string; /** * Count Hebrew words in text. */ export declare function countWords(text: string): number; /** * Mispar Hechrachi (מספר הכרחי) - Standard Value * * Source: Jewish Encyclopedia (1903), Section E.1 */ export declare function misparHechrachi(text: string, options?: GematriaOptions): number; /** * Mispar Gadol (מספר גדול) - Major Value * * Source: Jewish Encyclopedia (1903), Section E.11 */ export declare function misparGadol(text: string, options?: GematriaOptions): number; /** * Mispar Katan (מספר קטן) - Minor/Reduced Value * * Source: Jewish Encyclopedia (1903), Section E.2 */ export declare function misparKatan(text: string, options?: GematriaOptions): number; /** * Mispar Kolel (מספר כולל) - Inclusive Value * * Source: Jewish Encyclopedia (1903), Section E.3 */ export declare function misparKolel(text: string, options?: GematriaOptions): number; /** * Mispar Perati (מספר פרטי) - Square Value of Letter * * Source: Jewish Encyclopedia (1903), Section E.6 */ export declare function misparPerati(text: string, options?: GematriaOptions): number; /** * Mispar Meshulash (מספר משולש) - Cube Value of Letter * * Source: Jewish Encyclopedia (1903), Section E.15 */ export declare function misparMeshulash(text: string, options?: GematriaOptions): number; /** * Mispar Chitzon (מספר חיצוני) - External Value * * Every letter counts as 1. * * Source: Jewish Encyclopedia (1903), Section E.10 */ export declare function misparChitzon(text: string, options?: GematriaOptions): number; /** * Mispar Siduri (מספר סידורי) - Ordinal Value * * Source: Pardes Rimonim (1548), Gate 30, Chapter 8 (implicit) */ export declare function misparSiduri(text: string, options?: GematriaOptions): number; /** * Mispar HaKadmi (מספר הקדמי) - Prior Value (triangular numbers) * * Source: Pardes Rimonim (1548), Gate 30, Chapter 8 */ export declare function misparHakadmi(text: string, options?: GematriaOptions): number; /** * Compute gematria with full result metadata. */ export declare function compute(text: string, system: keyof typeof SYSTEMS, options?: GematriaOptions): GematriaResult; /** * Compute all systems at once. */ export declare function computeAll(text: string, options?: GematriaOptions): Record; /** * List all available system names. */ export declare function listSystems(): string[]; /** * Get system metadata by name. */ export declare function getSystem(name: string): import("./types.js").GematriaSystem; //# sourceMappingURL=index.d.ts.map