import type { VideoExecutionPayload, VideoExecutionPollResult } from './types.js'; export declare const DEFAULT_VEO_COMMAND_TIMEOUT_MS = 600000; /** * Classify a failed Veo CLI attempt. Moderation is checked FIRST: a moderation * response whose detail happens to also contain a transient- or throttle-looking * phrase (e.g. "network error" / "permission_denied" inside an UNSAFE_GENERATION * envelope) must never be retried — moderation is deterministic for a given * prompt and a retry only burns credits. Throttle is checked before transient so * a reCAPTCHA / 403 / 429 burst takes the long cooldown, not the 2s socket-blip * backoff. Exported for tests; the retry loop is the only runtime caller. */ export declare function classifyVeoFailure(detail: string): 'moderation' | 'throttle' | 'transient' | 'fatal'; /** * Soften aggressive motion wording that Veo content-moderation rejects, returning * the rewritten prompt and whether anything changed. PURE; exported for tests and * the opt-in safe-motion retry. Retrying is only worthwhile when `changed` is true * — an unchanged prompt would re-trigger the same deterministic reject. */ export declare function softenMotionPrompt(prompt: string): { prompt: string; changed: boolean; }; export declare function submitVeoUseApiNative(payload: VideoExecutionPayload, options?: { env?: NodeJS.ProcessEnv; }): Promise<{ externalJobId: string; rawResult: unknown; }>; export declare function pollVeoUseApiNative(input: { outputDir: string; externalJobId: string; }): Promise; //# sourceMappingURL=native-veo.d.ts.map