import { AnyPosition } from './position'; import { Prefix } from './constants'; declare type OntologyTerm = { name?: string; sourceId?: string; sourceIdVersion?: string; displayName?: string; }; declare const stripParentheses: (breakRepr: string) => string; interface VariantNotation { reference1: OntologyTerm | string; reference2: OntologyTerm | string; untemplatedSeq?: string | null; untemplatedSeqSize?: number; type: OntologyTerm | string; refSeq?: string | null; prefix: Prefix | null; multiFeature: boolean; truncation?: number | null; notationType?: string; break1Start: AnyPosition; break1End?: AnyPosition; break2Start?: AnyPosition; break2End?: AnyPosition; break1Repr: string; break2Repr?: string; noFeatures?: boolean; } declare const createVariantNotation: ({ requireFeatures, reference1, reference2, untemplatedSeq: untemplatedSeqIn, untemplatedSeqSize: untemplatedSeqSizeIn, type: typeIn, refSeq, prefix, multiFeature: multiFeatureIn, truncation, notationType, break1Start: break1StartIn, break1End: break1EndIn, break2Start: break2StartIn, break2End: break2EndIn, }: { requireFeatures?: boolean | undefined; reference1: string | OntologyTerm; reference2: string | OntologyTerm; untemplatedSeq?: string | null | undefined; untemplatedSeqSize?: number | null | undefined; type: string; refSeq?: string | null | undefined; prefix: Prefix | null; multiFeature?: boolean | undefined; truncation?: number | undefined; notationType?: string | undefined; break1Start: AnyPosition; break1End?: AnyPosition | undefined; break2Start?: AnyPosition | undefined; break2End?: AnyPosition | undefined; }) => VariantNotation; declare const jsonifyVariant: (variant: VariantNotation) => { [key: string]: string; }; declare const stringifyVariant: (variant: VariantNotation, newFusion?: boolean) => string; /** * Parse variant shorthand. Checks and validates notation * * @param {string} string the variant to be parsed * * @returns {object} the parsed content */ declare const parseVariant: (string: any, requireFeatures?: boolean) => VariantNotation; export { parseVariant, jsonifyVariant, stringifyVariant, stripParentheses, createVariantNotation, };