/**
 * Reads and parses content from a remote URL or local file path, supporting JSON and YAML formats.
 *
 * @param {Object} options - Options object
 * @param {string} options.fileURLOrPath - The URL or local file path to read.
 * @returns {Promise<Object|string|null>} Parsed object for JSON or YAML files, raw string for other formats, or null if reading fails.
 * @throws {Error} If fileURLOrPath is missing, not a string, or is an empty string.
 */
declare function readFile({ fileURLOrPath }: {
    fileURLOrPath: string;
}): Promise<any>;
/**
 * Convert recognized relative path properties in a config or spec object to absolute paths.
 *
 * @param {Object} options - Options for path resolution.
 * @param {Object} options.config - Configuration containing settings such as relativePathBase.
 * @param {Object} options.object - The config or spec object whose path properties will be resolved.
 * @param {string} options.filePath - Reference file or directory used to resolve relative paths.
 * @param {boolean} [options.nested=false] - True when invoked recursively for nested objects.
 * @param {string} [options.objectType] - 'config' or 'spec'; required for nested invocations.
 * @returns {Promise<Object>} The same object with applicable path properties converted to absolute paths.
 * @throws {Error} If the top-level object matches neither config nor spec schema, or if objectType is missing for nested calls.
 */
declare function resolvePaths({ config, object, filePath, nested, objectType, }: {
    config: any;
    object: any;
    filePath: string;
    nested?: boolean;
    objectType?: string;
}): Promise<any>;
export { readFile, resolvePaths };
//# sourceMappingURL=files.d.ts.map