import { CheckboxNode } from "../const.js";
const getAttrs = (tok) => (tok.attrs ? Object.fromEntries(tok.attrs) : {});
export const parserTokens = {
    [CheckboxNode.Checkbox]: { name: CheckboxNode.Checkbox, type: 'block', getAttrs },
    [CheckboxNode.Input]: { name: CheckboxNode.Input, type: 'node', getAttrs },
    [CheckboxNode.Label]: { name: CheckboxNode.Label, type: 'block', getAttrs },
};
//# sourceMappingURL=parser.js.map
