import typia from 'typia';
export const isSettingsKeymapEntry = (() => { const _io0 = input => null === input.sequence || undefined === input.sequence || "string" === typeof input.sequence || Array.isArray(input.sequence) && input.sequence.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || (Array.isArray(elem) && (elem.length === 2 && "string" === typeof elem[0] && true) || "object" === typeof elem && null !== elem && _io1(elem)))); const _io1 = input => "string" === typeof input.sequence && true && (undefined === input.throttleMs || "number" === typeof input.throttleMs); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })();
export const isSettingsKeymapScope = (() => { const _io0 = input => Object.keys(input).every(key => {
    const value = input[key];
    if (undefined === value)
        return true;
    return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
}); const _io1 = input => null === input.sequence || undefined === input.sequence || "string" === typeof input.sequence || Array.isArray(input.sequence) && input.sequence.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || (Array.isArray(elem) && (elem.length === 2 && "string" === typeof elem[0] && true) || "object" === typeof elem && null !== elem && _io2(elem)))); const _io2 = input => "string" === typeof input.sequence && true && (undefined === input.throttleMs || "number" === typeof input.throttleMs); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })();
