import { KMX } from "@keymanapp/common-types";
/**
 * Verifies that value is an item in the enumeration.
 */
export declare function isValidEnumValue<T extends {
    [key: number]: string | number;
}>(enu: T, value: string): boolean;
export interface TSentinelRecord {
    IsSentinel: boolean;
    Code?: number;
    Any?: {
        StoreIndex: number;
        Store: KMX.STORE;
    };
    Index?: {
        StoreIndex: number;
        Store: KMX.STORE;
        Index: number;
    };
    DeadKey?: {
        DeadKey: number;
    };
    Use?: {
        GroupIndex: number;
        Group: KMX.GROUP;
    };
    Call?: {
        StoreIndex: number;
        Store: KMX.STORE;
    };
    ContextEx?: {
        Index: number;
    };
    IfOpt?: {
        StoreIndex1: number;
        Store1: KMX.STORE;
        StoreIndex2: number;
        Store2: KMX.STORE;
        IsNot: number;
    };
    IfSystemStore?: {
        dwSystemID: number;
        SystemStore: KMX.STORE;
        StoreIndex: number;
        Store: KMX.STORE;
        IsNot: number;
    };
    SetOpt?: {
        StoreIndex1: number;
        Store1: KMX.STORE;
        StoreIndex2: number;
        Store2: KMX.STORE;
    };
    SetSystemStore?: {
        dwSystemID: number;
        SystemStore: KMX.STORE;
        StoreIndex: number;
        Store: KMX.STORE;
    };
    ResetOpt?: {
        StoreIndex: number;
        Store: KMX.STORE;
    };
    SaveOpt?: {
        StoreIndex: number;
        Store: KMX.STORE;
    };
    ChrVal?: number;
}
export declare function ExpandSentinel(fk: KMX.KEYBOARD, pwsz: string, x: number): TSentinelRecord;
export declare function GetSuppChar(p: string, x: number): number;
export declare function incxstr(p: string, x: number): number;
export declare function xstrlen(p: string): number;
export declare function xstrlen_printing(p: string): number;
//# sourceMappingURL=util.d.ts.map