import { type VendorModelPremiumRequiredPayload } from '../../media/index.js'; export declare const HAPPYHORSE_PROVIDER_CONTENT_POLICY_MESSAGE = "HappyHorse's content check didn't pass this one, so no video came back this time. We can adjust the prompt or try a different look and give it another go."; export declare const HAPPYHORSE_VENDOR_GENERATION_FAILED_MESSAGE = "HappyHorse hit a snag partway through this one, so no media was generated. The provider did not return a specific reason \u2014 a quick retry usually clears it up. If it happens again, you can report the issue right from this message."; export declare const HAPPYHORSE_VENDOR_TIMEOUT_MESSAGE = "HappyHorse took a bit too long on this one and timed out, so no media was generated. A quick retry usually does the trick; if it times out again, you can report the issue right from this message."; export declare const HAPPYHORSE_INPUT_DOWNLOAD_FAILED_MESSAGE = "HappyHorse couldn't fetch one of the images for this video, so no media was generated. Make sure each reference image is a publicly reachable URL (or send it inline) and we'll try again."; export interface HappyHorseTerminalPolicyPayload { error: 'happyhorse_content_policy'; message: typeof HAPPYHORSE_PROVIDER_CONTENT_POLICY_MESSAGE; retryPolicy: 'manual_user_confirmation'; nextAction: 'wait_for_user'; vendorErrorCode: string; } export interface HappyHorseTerminalGenerationFailurePayload { error: 'happyhorse_generation_failed' | 'happyhorse_input_download_failed'; message: string; retryPolicy: 'manual_user_confirmation'; nextAction: 'wait_for_user'; reportIssue?: true; reportIssueReason?: string; vendorError?: string; vendorErrorCode?: string; } export declare class HappyHorseTerminalPolicyError extends Error { readonly payload: HappyHorseTerminalPolicyPayload; constructor(payload: HappyHorseTerminalPolicyPayload); } export declare function happyhorseTerminalPolicyPayloadFromError(error: unknown): HappyHorseTerminalPolicyPayload | null; export declare function happyhorseTerminalPolicyErrorFromError(error: unknown): HappyHorseTerminalPolicyError | null; export declare function happyhorseTerminalGenerationFailurePayloadFromError(error: unknown): HappyHorseTerminalGenerationFailurePayload | VendorModelPremiumRequiredPayload | null; //# sourceMappingURL=happyhorsePolicyErrors.d.ts.map