@nightingale-elements/nightingale-new-core
Version:
Base Elements for Nightingale Components
17 lines • 423 B
TypeScript
export type SegmentType = {
start: number;
end: number;
};
export default class Region {
segments: SegmentType[];
max: number;
min: number;
regionString: string | null;
constructor({ min, max }?: {
min?: number | undefined;
max?: number | undefined;
});
encode(full?: boolean): string;
decode(regionString: string | null): void;
}
//# sourceMappingURL=Region.d.ts.map