/** * Dye factory functions and mock data for testing * * Provides mock dye data and factory functions for testing * dye-related functionality. * * @example * ```typescript * import { mockDyes, createMockDye } from '@xivdyetools/test-utils/factories'; * * // Use predefined mock dyes * const dyes = mockDyes; * * // Create a custom mock dye * const dye = createMockDye({ name: 'Custom Dye', hex: '#FF0000' }); * ``` */ import type { Dye } from '@xivdyetools/types/dye'; export type { Dye }; /** * Sample mock dyes for testing * * A small set of dyes covering different categories and properties. */ export declare const mockDyes: Dye[]; /** * Creates a mock dye with custom properties * * @param overrides - Optional overrides for the default values * @returns A Dye object */ export declare function createMockDye(overrides?: Partial): Dye; /** * Creates multiple mock dyes * * @param count - Number of dyes to create * @param overrides - Optional overrides to apply to all dyes * @returns Array of Dye objects */ export declare function createMockDyes(count: number, overrides?: Partial): Dye[]; /** * Creates a metallic dye * * @param overrides - Optional overrides * @returns A metallic Dye object */ export declare function createMetallicDye(overrides?: Partial): Dye; /** * Creates a pastel dye * * @param overrides - Optional overrides * @returns A pastel Dye object */ export declare function createPastelDye(overrides?: Partial): Dye; /** * Creates a dark dye * * @param overrides - Optional overrides * @returns A dark Dye object */ export declare function createDarkDye(overrides?: Partial): Dye; /** * Get a dye by ID from the mock dyes * * @param id - The dye ID * @returns The Dye object or undefined */ export declare function getMockDyeById(id: number): Dye | undefined; /** * Get dyes by IDs from the mock dyes * * @param ids - Array of dye IDs * @returns Array of Dye objects (missing IDs are filtered out) */ export declare function getMockDyesByIds(ids: number[]): Dye[]; //# sourceMappingURL=dye.d.ts.map