import { type ResolvedCut } from "./cut-model.js"; import type { Diagnostic } from "./types.js"; import { Cut } from "./contracts/cut.js"; import { type Moments as MomentsType } from "./contracts/moments.js"; export interface CompileCutOutput { cut?: Cut; diagnostics: Diagnostic[]; } export interface LoadedMoments { moments: MomentsType; momentsHash: string; } export type MomentsLoader = (src: string) => string | Uint8Array; export declare function compileCutSource(path: string, text: string, loadMoments: MomentsLoader): CompileCutOutput; export declare function checkCutSource(path: string, text: string, loadMoments: MomentsLoader): Diagnostic[]; export declare function compileCut(resolved: ResolvedCut, momentsByTake: Map, priorDiagnostics?: Diagnostic[]): CompileCutOutput; //# sourceMappingURL=cut-compiler.d.ts.map