export interface Neighbours { edge?: number; current?: number; } export interface Options { target?: number; neighbours?: Neighbours; focus?: Item; } export interface Item { key: string; isCurrent: boolean; isGap(): boolean; isNumber(): boolean; asGap(): GapItem; asNumber(): NumberItem; toString(): string; } export declare class GapItem implements Item { from: number; to: number; key: string; isCurrent: boolean; constructor(from: number, to: number); asGap(): GapItem; asNumber(): NumberItem; isGap(): boolean; isNumber(): boolean; toString(): string; } export declare class NumberItem implements Item { value: number; key: string; isCurrent: boolean; constructor(value: number, current: boolean); asGap(): GapItem; asNumber(): NumberItem; isGap(): boolean; isNumber(): boolean; toString(): string; }