/** * JSON Path Extractor * * Extracts dot-notation key paths from JSON objects as literals. * Used for literal-based indexing of JSON files. * * @example * // user.json: { name: { first: "john" } } * extractJsonPaths({ name: { first: "john" } }, "user") * // Returns literals for: "user.name", "user.name.first" */ import type { ExtractedLiteral } from "../entities/literal"; /** * Extract all key paths from a JSON object as literals. * Prefixes all paths with the filename (without extension). * * @param obj - Parsed JSON object * @param fileBasename - Filename without extension (e.g., "user" from "user.json") * @returns Array of literals representing all dot-notation paths */ export declare function extractJsonPaths(obj: unknown, fileBasename: string): ExtractedLiteral[]; /** * Extract keywords from JSON for BM25 indexing. * Extracts both keys and string values. * * @param obj - Parsed JSON object * @returns Array of keywords for BM25 indexing */ export declare function extractJsonKeywords(obj: unknown): string[];