import type { Patch } from '../../Patch';
import type * as types from './types';
/**
 * Encodes a patch into a compact binary format into a JavaScript array.
 *
 * @param patch The patch to encode.
 * @returns The encoded patch as a JavaScript POJO.
 */
export declare const encode: (patch: Patch) => types.CompactCodecPatch;
