/** * QA360 Data Fixtures Loader * * Loads YAML/JSON fixture files and provides access to fixture data. */ import { FixtureFile, FixtureRegistry } from './types.js'; export declare class FixtureLoader { private registry; private baseDir; constructor(baseDir: string); /** * Load fixture files from the specified paths * * @param fixturePaths - Array of relative or absolute paths to fixture files * @returns The loaded fixture registry */ load(fixturePaths: string[]): Promise; /** * Load a single fixture file * * @param fixturePath - Path to the fixture file * @returns The loaded fixture file */ loadFile(fixturePath: string): Promise; /** * Get a fixture value by path (e.g., "testUsers.buyer.email") * * @param path - Dot-notation path to the fixture value * @returns The fixture value */ get(path: string): unknown; /** * Get all loaded fixtures * * @returns The fixture registry */ getAll(): FixtureRegistry; /** * Check if a fixture path exists * * @param path - Dot-notation path to check * @returns True if the path exists */ has(path: string): boolean; /** * Get fixture names (top-level keys) * * @returns Array of fixture names */ getFixtureNames(): string[]; /** * Resolve a relative path to an absolute path * * @param fixturePath - Relative or absolute path * @returns Absolute path */ private resolvePath; /** * Extract fixture name from file path * * @param fixturePath - Path to the fixture file * @returns Fixture name (filename without extension or directory) */ private getFixtureName; }