export interface WebKeyboardMetadata { keyboardName: string; keyboardVersion: string; minKeymanVersion: string; isRtl: boolean; isMnemonic: boolean; targets?: string; hasTouchLayout: boolean; } /** * This function parses the JavaScript to do a best-effort retrieval of * keyboard data. It assumes a format similar to what the compiler produces. * It may be possible for it to miss something if the code is hand written and * diverges enough from the compiler code (e.g. if there is a comment between * a member variable and its value or something crazy like that). * * Long-term, we will require package to include .kmx so this kind of parsing * won't be necessary. */ export declare function getCompiledWebKeyboardMetadata(js: string): WebKeyboardMetadata; //# sourceMappingURL=web-keyboard-metadata.d.ts.map