import { IPosition } from './IPosition'; export interface Edge { nodeId: string; distance: number; orient: number; } export interface Node { index: number; id: string; edges: Edge[]; position: IPosition; } export interface NodeLink { beginNode: Node; endNode: Node; angle: number; length: number; } export interface LinkHistory { count: number; position: IPosition; orient: number; distance: number; nodeLink?: NodeLink; } export declare const ACCEL_THRESHOLD_HIGH = 2; export declare const ACCEL_Z_MIN_THRESHOLD = 0.48; export declare const DISTANCE_WEIGHT = 1; export declare const Z_WEIGHT = 1; export declare const ACCEL_THRESHOLD_LOW = -2; export declare const STEP_INTER_TIME_HIGH = 1500; export declare const INITIAL_TIME_DIFF_THRESHOLD = 650; export declare const TIME_POSITIVE_DIFF_THRESHOLD = 475; export declare const TIME_NEGATIVE_DIFF_THRESHOLD = 400; export declare const MAX_FAILURE_COUNT = 100;