export interface IImportStrategy { /** * Transforms a raw input object (from an API, CSV row, etc.) * into a standardized DTO. */ transform(input: TInput): Promise; /** * Validates the standardized DTO. * @throws {Error} or a custom exception if validation fails. */ validate(data: TAttributesDto): Promise; } /** * A base class (framework) that provides partial logic for an Import Strategy. * Users can extend this class to save effort. */ export declare abstract class BaseImportStrategy implements IImportStrategy { transform(input: TInput): Promise; validate(data: TAttributesDto): Promise; /** * Recursively flattens validation errors into a single array of strings. * @param errors The array of ValidationError objects. * @param parentPath The path of the parent property, used for building nested paths. * @returns An array of human-readable error strings. */ private flattenValidationErrors; }