import { type CameraIntent, type HighlightStyleName } from "./cut-registry.js"; import type { Diagnostic } from "./types.js"; import type { ScreenyDocument } from "./ast.js"; import type { SourceRange } from "./contracts/source.js"; import type { Duration } from "./contracts/time.js"; import type { MomentRef } from "./contracts/cut.js"; import type { TargetDescriptor } from "./contracts/target.js"; import type { BoundsRect } from "./contracts/geometry.js"; export declare function parseTarget(raw: string, range: SourceRange): { target?: TargetDescriptor; diagnostics: Diagnostic[]; }; export interface ResolvedCutCamera { id: string; take: string; anchor: MomentRef; on?: TargetDescriptor; to?: MomentRef; intent: CameraIntent; range: SourceRange; } export interface ResolvedCutHighlight { id: string; take: string; anchor: MomentRef; on?: TargetDescriptor; rect?: BoundsRect; to?: MomentRef; dwell?: Duration; style: HighlightStyleName; range: SourceRange; } export interface ResolvedCutRedaction { id: string; take: string; anchor: MomentRef; on?: TargetDescriptor; rect?: BoundsRect; to?: MomentRef; dwell?: Duration; range: SourceRange; } export interface ResolvedCutTake { id: string; src: string; from?: MomentRef; to?: MomentRef; range: SourceRange; } export interface ResolvedCut { takes: ResolvedCutTake[]; cameras: ResolvedCutCamera[]; highlights: ResolvedCutHighlight[]; redactions: ResolvedCutRedaction[]; } export interface ResolveCutResult { cut?: ResolvedCut; diagnostics: Diagnostic[]; } export declare function resolveCutDocument(doc: ScreenyDocument): ResolveCutResult; //# sourceMappingURL=cut-model.d.ts.map