import { Rect, RectProps } from 'fabric'; export interface PreviewTrackItemProps extends Pick { id: string; type: string; duration: number; } declare class PreviewTrackItem extends Rect { static type: string; duration: number; fromClipId: string; toClipId: string; isSelected: boolean; name: string; durationString: string; itemType: string; static getDefaults(): Record; static ownDefaults: { objectCaching: boolean; borderColor: string; stroke: string; strokeWidth: number; borderOpacityWhenMoving: number; hoverCursor: string; rx: number; ry: number; }; constructor(props: PreviewTrackItemProps); _render(ctx: CanvasRenderingContext2D): void; drawTextIdentity(ctx: CanvasRenderingContext2D): void; private drawRoundedRect; } export default PreviewTrackItem;