import type { ChangeEvent, KeyboardEvent, SyntheticEvent } from 'react';
type Props = {
    opened: boolean;
    closeOnEsc: boolean;
    onToggle: (isOpen: boolean, event: SyntheticEvent | Event) => void;
    delimiters?: string[];
    format?: string;
    maskWithFormat?: boolean;
};
export declare const keys: {
    Space: string;
    Escape: string;
};
export declare const useKeyNavigation: ({ opened, closeOnEsc, onToggle }: Props) => {
    onKeyDown: (event: ChangeEvent<HTMLInputElement> & KeyboardEvent<HTMLInputElement>) => void;
};
export {};
//# sourceMappingURL=useKeyboardNavigation.d.ts.map