import { Selection } from "d3"; import NightingaleElement from "@nightingale-elements/nightingale-new-core"; import FeatureShape, { Shapes } from "./FeatureShape"; import NonOverlappingLayout from "./NonOverlappingLayout"; import DefaultLayout from "./DefaultLayout"; import { getColorByType } from "./ConfigHelper"; export type FeatureLocation = { fragments: Array<{ start: number; end: number; }>; }; type Residue = { name?: string; position: number; }; export type Feature = { accession: string; color?: string; fill?: string; shape?: Shapes; tooltipContent?: string; type?: string; locations?: Array; feature?: Feature; start?: number; end?: number; opacity?: number; residuesToHighlight?: Array; }; declare const NightingaleTrack_base: import("@nightingale-elements/nightingale-new-core/dist/nightingale-base-element").Constructor & import("@nightingale-elements/nightingale-new-core/dist/nightingale-base-element").Constructor & import("@nightingale-elements/nightingale-new-core/dist/nightingale-base-element").Constructor & import("@nightingale-elements/nightingale-new-core/dist/nightingale-base-element").Constructor & import("@nightingale-elements/nightingale-new-core/dist/nightingale-base-element").Constructor & import("@nightingale-elements/nightingale-new-core/dist/nightingale-base-element").Constructor & typeof NightingaleElement; declare class NightingaleTrack extends NightingaleTrack_base { #private; color?: string | null; shape?: string | null; layout?: "non-overlapping" | "default"; protected featureShape: FeatureShape; protected layoutObj?: DefaultLayout | NonOverlappingLayout; filters: null; protected seqG?: Selection; protected highlighted?: Selection; protected margins?: Selection; getLayout(): DefaultLayout; connectedCallback(): void; static normalizeLocations(data: Feature[]): Feature[]; processData(data: Feature[]): void; set data(data: Feature[]); get data(): Feature[]; attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void; protected getFeatureColor(f: Feature | { feature: Feature; }): string; protected getFeatureFillColor(f: Feature | { feature: Feature; }): string; protected getShape(f: Feature | { feature: Feature; }): Shapes; protected createTrack(): void; protected createFeatures(): void; private applyFilters; refresh(): void; protected updateHighlight(): void; zoomRefreshed(): void; firstUpdated(): void; render(): import("lit-html").TemplateResult<1>; } export default NightingaleTrack; export { DefaultLayout }; export { getColorByType }; //# sourceMappingURL=nightingale-track.d.ts.map