/** * Shared parameter normalization utilities, alias maps, and content healers. */ export declare function isRecord(val: unknown): val is Record; export declare function safeString(val: unknown): string; /** * Known parameter alias map for common agent hallucinations. * Maps hallucinated parameter names to their canonical equivalents. * Only applied when the canonical name is not already present. */ export declare const PARAM_ALIASES: Record; /** * Common hallucinated entry types -> canonical types */ export declare const ENTRY_TYPE_ALIASES: Record; /** * Common hallucinated tags -> canonical tags */ export declare const TAG_ALIASES: Record; /** * Heal mangled, duplicate, or missing section headers in session summary content. */ export declare function healSessionSummaryContent(content: string, options?: { normalizeSynonyms?: boolean; usePeriodOnNone?: boolean; }): string; /** * Heal auto_context 'commits' hallucination (e.g. passing a string instead of an array, or using 'commit_shas'). */ export declare function healAutoContext(result: Record): void; //# sourceMappingURL=shared-utils.d.ts.map