import { encode as encodeJson } from '@jsonjoy.com/json-pack/lib/cbor/shared';
import { encode as encodeCompact } from '../compact/encode';
export const encode = (patch) => {
    return encodeJson(encodeCompact(patch));
};
//# sourceMappingURL=encode.js.map