/**
 * Reads and parses a JSON file relative to the caller's module URL.
 * Resolves the path from the directory of the calling module (via `import.meta.url`).
 *
 * @param importMetaUrl - The `import.meta.url` of the calling module.
 * @param relativePath - The relative path to the JSON file from the calling module.
 * @returns The parsed JSON content.
 * @example
 * const serverJson = readJsonFile(import.meta.url, '../../server.json');
 */
export declare function readJsonFile<T = unknown>(importMetaUrl: string, relativePath: string): T;
/**
 * Parses a comma-separated string into an array of trimmed strings.
 * Empty strings are filtered out after trimming.
 *
 * @param input - The comma-separated string to parse. If undefined, returns an empty array.
 * @returns An array of trimmed, non-empty strings.
 * @example
 * parseCommaSeparatedList("a, b, c"); // ["a", "b", "c"]
 * parseCommaSeparatedList("a, , b"); // ["a", "b"]
 */
export declare function parseCommaSeparatedList(input?: string): string[];
/**
 * Parses a query parameter that can be either a string or an array of strings.
 * Handles comma-separated values in strings and filters out empty values.
 *
 * @param param - A query parameter that can be a string, array of strings, or undefined
 * @returns An array of trimmed, non-empty strings
 * @example
 * parseQueryParamList("a,b,c"); // ["a", "b", "c"]
 * parseQueryParamList(["a", "b"]); // ["a", "b"]
 * parseQueryParamList(undefined); // []
 */
export declare function parseQueryParamList(param?: string | string[]): string[];
/**
 * Recursively gets the value in a nested object for each key in the keys array.
 * Each key can be a dot-separated path (e.g. 'a.b.c').
 * Returns an object mapping each key to its resolved value (or undefined if not found).
 *
 * @example
 * const obj = { a: { b: { c: 42 } }, nested: { d: 100 } };
 * const value = getValuesByDotKeys(obj, ['a.b.c', 'a.b.d', 'nested']);
 * value; // { 'a.b.c': 42, 'a.b.d': undefined, 'nested': { d: 100 } }
 */
export declare function getValuesByDotKeys(obj: Record<string, unknown>, keys: string[]): Record<string, unknown>;
/**
 * Validates whether a given string is a well-formed URL.
 *
 * Allows only valid HTTP or HTTPS URLs.
 */
export declare function isValidHttpUrl(urlString: string): boolean;
//# sourceMappingURL=generic.d.ts.map