import type { Entry, Navigation, NavigationContext } from './features.js'; import type { DeviceProfile, Diagnostic, PhysicalButton } from './types.js'; export declare class SpatialNavigation implements Navigation { private context; focused: HTMLElement | null; private tabIndices; private direction; private nextMove; constructor(context: NavigationContext); get confirm(): PhysicalButton | null; get selector(): string | null; diagnostics(entries: readonly Entry[]): Diagnostic[]; reset(): void; stop(): void; candidates(): HTMLElement[]; ensureFocus(): void; setFocus(element: HTMLElement | null, move: boolean): void; navigate(pad: Gamepad, profile: DeviceProfile, pressed: ReadonlySet, time: number, reservedConflicts: ReadonlySet): void; }