import { KMX } from "@keymanapp/common-types";
export declare function JavaScript_Name(i: number, pwszName: string, KeepNameForPersistentStorage?: boolean): string;
export declare function JavaScript_Store(fk: KMX.KEYBOARD, line: number, pwsz: string): string;
export declare function JavaScript_String(ch: number): string;
export declare function JavaScript_Rules(keyboard: KMX.KEYBOARD, fMnemonic: boolean, fgp: KMX.GROUP): string;
export declare function JavaScript_Shift(fkp: KMX.KEY, FMnemonic: boolean): number;
/**
 * Returns a Javascript representation of a key modifier state, either as a constant (debug mode)
 * or as an integer.
 *
 * @param fkp         Pointer to key record
 * @param FMnemonic   True if the keyboard is a mnemonic layout
 *
 * @return string representation of the key modifier state, e.g.
 *         'modCodes.SHIFT | modCodes.CAPS | modCodes.VIRTUAL_KEY /* 0x4110 * /' or
 *         '16656'
 */
export declare function JavaScript_ShiftAsString(fkp: KMX.KEY, FMnemonic: boolean): string;
export declare function JavaScript_Key(fkp: KMX.KEY, FMnemonic: boolean): number;
/**
 * Returns a Javascript representation of a key value, either as a constant (debug mode)
 * or as an integer.
 *
 * @param fkp         Pointer to key record
 * @param FMnemonic   True if the keyboard is a mnemonic layout
 *
 * @return string representation of the key value, e.g. 'keyCodes.K_A /* 0x41 * /' or '65'
 */
export declare function JavaScript_KeyAsString(fkp: KMX.KEY, FMnemonic: boolean): string;
export declare function JavaScript_ContextMatch(fk: KMX.KEYBOARD, fkp: KMX.KEY, context: string): string;
export declare function JavaScript_OutputString(fk: KMX.KEYBOARD, FTabStops: string, fkp: KMX.KEY, pwszOutput: string, fgp: KMX.GROUP): string;
export declare function zeroPadHex(n: number, len: number): string;
//# sourceMappingURL=javascript-strings.d.ts.map