export function isKeybindingBlock(value) {
    if (!value || typeof value !== "object")
        return false;
    const record = value;
    return record.bindings === undefined || typeof record.bindings === "object";
}
export function parseKeybindingConfig(value) {
    if (Array.isArray(value))
        return value.filter(isKeybindingBlock);
    if (isKeybindingBlock(value))
        return [value];
    return [];
}
