import type { KeymapEvent, KeymapHost, RegisteredLayer } from "../../types.js"; export declare function getFocusedTargetIfAvailable(host: KeymapHost): TTarget | null; export declare function forEachActivationTarget(host: KeymapHost, focused: TTarget | null, visit: (target: TTarget, isFocusedTarget: boolean) => boolean | void): void; export declare function getActivationPath(host: KeymapHost, focused: TTarget | null): Set; export declare function getActiveLayersForFocused(layers: readonly RegisteredLayer[] | ReadonlySet>, host: KeymapHost, focused: TTarget | null): readonly RegisteredLayer[]; export declare function getSortedLayers(layers: ReadonlySet>): RegisteredLayer[]; export declare function isLayerActiveForFocused(host: KeymapHost, layer: RegisteredLayer, focused: TTarget | null, activationPath?: ReadonlySet): boolean;