import { StringDict } from "../../../parsing/index.js"; import { ErrorResponse } from "../../index.js"; import { BaseResponse } from "../baseResponse.js"; /** * Webhook payload returned when an inference fails before producing a result. */ export declare class FailedInferenceResponse extends BaseResponse { /** * UUID of the failed inference. */ inferenceId: string; /** * UUID of the model used. */ modelId: string; /** * Name of the input file. */ fileName: string; /** * Alias sent for the file, if any. */ fileAlias?: string; /** * Problem details for the failure, if available. */ error: ErrorResponse; /** * Date and time when the inference was started. */ createdAt: Date | null; constructor(serverResponse: StringDict); }