export default class RopeSequence { length: number prepend(other: RopeSequence | readonly T[]): RopeSequence append(other: RopeSequence | readonly T[]): RopeSequence slice(from: number, to?: number): RopeSequence get(i: number): T forEach(f: (elt: T, index: number) => boolean | void, from?: number, to?: number): void map(f: (elt: T, index: number) => U, from?: number, to?: number): U[] static from(value: readonly T[] | RopeSequence): RopeSequence static empty: RopeSequence }