import { setNestedValue, deleteNestedKey, type FlatResourceMap } from './resourceUtils'; export { setNestedValue, deleteNestedKey }; export type { FlatResourceMap }; export type ResourceFile = { filePath: string; fileName: string; isNested: boolean; keyValuePairs: FlatResourceMap; }; export type KeyReference = { filePath: string; line: number; column: number; }; export type KeyReferenceSummary = { total: number; references: KeyReference[]; }; /** * Resolve the workspace root with this precedence: * 0) workspaceRootOverride (per-call) * 1) CLI arg: --workspaceRoot / --workspace-root (supports =value) * 2) Env: WORKSPACE_ROOT * 3) process.cwd() * 4) __dirname-based server location fallback */ export declare function getWorkspaceRoot(workspaceRootOverride?: string): string; export declare function ensureSafeWorkspacePath(absPath: string, workspaceRootOverride?: string): string; export declare function loadJson(absPath: string, workspaceRootOverride?: string): unknown; export declare function writeFilePretty(absPath: string, json: unknown, workspaceRootOverride?: string): void; export declare function readResourceFiles(globPattern?: string, workspaceRootOverride?: string): Promise; export declare function findUntranslatedKeysInFile(codeFilePath: string, keys: string[]): string[]; export declare function findKeyReferences(keys: string[], resourceFilePaths: Set, limitPerKey?: number, workspaceRootOverride?: string): Promise>; //# sourceMappingURL=i18nFs.d.ts.map