/** * Reads and parses a JSON configuration file synchronously. * * The parsed content is sanitized to prevent prototype pollution attacks * by removing dangerous keys like `__proto__`, `constructor`, and `prototype`. * * @param path - Path to the JSON file * @returns Parsed and sanitized JSON content as an object, or empty object if file doesn't exist * @throws Error if file exists but contains invalid JSON * @throws Error if file exists but cannot be read (permission issues, etc.) * * @example * const config = getFileContent('./config/config.json'); */ export declare const getFileContent: (path: string) => Record; /** * Reads and parses a JSON configuration file asynchronously. * * The parsed content is sanitized to prevent prototype pollution attacks * by removing dangerous keys like `__proto__`, `constructor`, and `prototype`. * * @param path - Path to the JSON file * @returns Promise resolving to parsed and sanitized JSON content as an object, or empty object if file doesn't exist * @throws Error if file exists but contains invalid JSON * @throws Error if file exists but cannot be read (permission issues, etc.) * * @example * const config = await getFileContentAsync('./config/config.json'); */ export declare const getFileContentAsync: (path: string) => Promise>;