/** * The Forger's motion-trim analysis, through api-server's unbilled CLI lane: * `POST /api/cli/v1/assets/animation-trim-analysis/jobs` + status polls. Run * by the dev view's sidecar right after a clip is recorded, so the panel can * seed its trim handles before the (billed) animation job is submitted. * Headless `bitmagic generate animation` does not use this — its `--auto-trim` * stays bundled in the animation job. */ import type { TrimAnalysisJobResult } from '@bitmagic/asset-core'; import type { Environment } from '../config/environments.js'; import { type ApiDeps } from '../http/client.js'; export declare const TRIM_ANALYSIS_JOBS_PATH = "/api/cli/v1/assets/animation-trim-analysis/jobs"; export interface TrimAnalysisDeps extends ApiDeps { sleep: (ms: number) => Promise; } export declare function analyseTrimForVideo(options: { environment: Environment; token: string; gameId: string; videoUrl: string; deps: TrimAnalysisDeps; }): Promise;