export declare const calcWidth: (event: MouseEvent, startX: number, startWidth: number) => number;