import type { EponymeSchema } from '../types/index.js'; import type { EponymeVariableDefinition, EponymeVariables } from '../types/variables.js'; export declare function findEponymeVariableRanges(text: string): Array<{ from: number; to: number; }>; /** Always available, whatever the host application configures. */ export declare function builtinEponymeVariables(now?: Date): Record; /** Host variables win, so an application can override a built-in for its own wording. */ export declare function resolveEponymeVariables(custom?: EponymeVariables, now?: Date): Record; export declare function summariseEponymeVariables(custom?: EponymeVariables): Array<{ name: string; label: string; description?: string; preview: string; }>; /** Replaces every `{{ name }}` occurrence. */ export declare function interpolateEponymeText(text: string, variables: Record): string; /** Same substitution, but a variable landing inside rich text is HTML-escaped first. */ export declare function interpolateEponymeEntryData(schema: EponymeSchema | undefined, data: T, variables: Record): T; /** Walks strings nested in objects and arrays, leaving every other value alone. */ export declare function interpolateEponymeValue(value: T, variables: Record): T;