import * as DG from 'datagrok-api/dg'; import { IViewer } from './viewer'; import { FilterSources, PositionHeight } from './web-logo'; export declare enum VdRegionType { Unknown = "unknown", FR = "framework", CDR = "cdr" } /** Describes V-DOMAIN (IG and TR) region (of multiple alignment) * https://www.imgt.org/IMGTScientificChart/Numbering/IMGTIGVLsuperfamily.html * Attributes {@link positionStartName} and {@link positionEndName} are strings because * they correspond to position names as column names in ANARCI output (with a character index possible). */ export interface VdRegion { readonly type: VdRegionType; readonly name: string; readonly chain: string; readonly order: number; /** Name of the column containing sequence */ readonly sequenceColumnName: string; /** Region start position (inclusive) */ readonly positionStartName: string; /** Region end position (inclusive) */ readonly positionEndName: string; } export declare const VdRegionsPropsDefault: { regionTypes: VdRegionType[]; chains: string[]; skipEmptyPositions: boolean; fitWidth: boolean; positionWidth: number; positionHeight: PositionHeight; filterSource: FilterSources; }; export type VdRegionsProps = Required; /** Interface for VdRegionsViewer from @datagrok/bio to unbind dependency to Bio package */ export interface IVdRegionsViewer extends VdRegionsProps, IViewer { init(): Promise; /** List of regions referencing the column with sequences by {@link VdRegion.sequenceColumnName }. */ setData(regions: VdRegion[]): void; } declare module 'datagrok-api/dg' { interface DataFramePlotHelper { fromType(viewerType: 'VdRegions', options: Partial): Promise & IVdRegionsViewer>; } } //# sourceMappingURL=vd-regions.d.ts.map