import { assert } from "../../../shared/src/asserts.js";
export function customMutatorKey(namespace, name) {
    assert(!namespace.includes('|'), 'mutator namespaces must not include a |');
    assert(!name.includes('|'), 'mutator names must not include a |');
    return `${namespace}|${name}`;
}
export function splitMutatorKey(key) {
    return key.split('|');
}
//# sourceMappingURL=custom.js.map