export interface Domain { chromosome?: string; start: number; end: number; }; export interface BamRect { start: number; end: number; color?: string; cigarOps: { opStart: number, opEnd: number, op: string }[], strand?: boolean; seq?: string; } export type DenseBamProps = { width: number; height: number; id?: string; transform?: string; color?: string; domain: Domain; data?: BamRect[]; onHeightChanged?: (height: number) => void; }; export type SquishBamProps = { data?: BamRect[]; width: number; rowHeight: number; id?: string; transform?: string; color?: string; domain: Domain; onHeightChanged?: (height: number) => void; };