/** * Gematria proxy for lazy computation on property access. */ import type { GematriaValues, Word, VerseGematriaOptions } from '../models/types.js'; import { type GematriaLanguage } from './index.js'; export type { VerseGematriaOptions } from '../models/types.js'; /** * Normalize edition language string to gematria language. */ export declare function normalizeLanguage(editionLanguage: string | undefined): GematriaLanguage; /** * Create a gematria proxy for a single text string. * Computes only the requested method on property access. * * @param text - The text to compute gematria for * @param language - The language to use for computation * @returns A proxy that computes gematria values on demand */ export declare function createGematriaProxy(text: string, language: GematriaLanguage): GematriaValues; /** * Create a gematria proxy for a verse that aggregates from words. * By default excludes colophon words and ketiv variants (uses qere). * * @param words - The words in the verse * @param language - The language to use for computation * @param options - Options for filtering words * @returns A proxy that computes aggregated gematria values on demand */ export declare function createVerseGematriaProxy(words: Word[], language: GematriaLanguage, options?: VerseGematriaOptions): GematriaValues; /** * Create a getGematria method for a verse. * Returns a function that creates gematria proxies with custom options. * * @param words - The words in the verse * @param language - The language to use for computation * @returns A function that accepts options and returns a GematriaValues proxy */ export declare function createGetGematriaMethod(words: Word[], language: GematriaLanguage): (options: VerseGematriaOptions) => GematriaValues; /** * Create a gematria proxy for full verse text (including colophons). * * @param text - The full verse text * @param language - The language to use for computation * @returns A proxy that computes gematria values on demand */ export declare function createVerseGematriaWithColophonsProxy(text: string, language: GematriaLanguage): GematriaValues; //# sourceMappingURL=proxy.d.ts.map