export type EnterKey = 'Enter'; export declare function isEnter(key: string): key is EnterKey;