///
import React from 'react';
import { Key } from 'readline';
import { ActionKey } from '../helpers';
interface TabIndexRegisterArgs {
tabIndex: number;
onFocus: (focus: boolean) => void;
onKey: (key: Key, actionKey: ActionKey, text: string) => void;
}
declare class TabIndexContextClass {
components: TabIndexRegisterArgs[];
activeIndex: number;
locked: boolean;
register: (args: TabIndexRegisterArgs) => void;
unregister: (args: TabIndexRegisterArgs) => void;
setActiveIndex: (i: number) => void;
up(): void;
down(): void;
emitKeyPress(key: Key, actionKey: ActionKey, text: string): void;
lockNavigation(lock: boolean): void;
}
export declare const tabIndexContextState: TabIndexContextClass;
export declare const TabIndexContext: React.Context;
export declare function TabIndexProvider(props: any): JSX.Element;
export {};