clapper / packages /timeline /dist /compute /computeContentSizeMetrics.d.ts
jbilcke-hf's picture
jbilcke-hf HF Staff
Upload folder using huggingface_hub
60e3020 verified
raw
history blame contribute delete
467 Bytes
import { ClapTracks } from "@aitube/clap";
import { ContentSizeMetrics } from "@/types/timeline";
export declare function computeContentSizeMetrics({ width, height, tracks, cellWidth, defaultSegmentDurationInSteps, durationInMsPerStep, durationInMs, }: {
width: number;
height: number;
tracks: ClapTracks;
cellWidth: number;
defaultSegmentDurationInSteps: number;
durationInMsPerStep: number;
durationInMs: number;
}): ContentSizeMetrics;