import type { CompactCopyOp } from '../codec/compact/types';
import { AbstractOp } from './AbstractOp';
import type { OperationCopy } from '../types';
import { type Path } from '@jsonjoy.com/json-pointer';
import { OPCODE } from '../constants';
/**
 * @category JSON Patch
 */
export declare class OpCopy extends AbstractOp<'copy'> {
    readonly from: Path;
    constructor(path: Path, from: Path);
    op(): "copy";
    code(): OPCODE;
    apply(doc: unknown): {
        doc: unknown;
        old: any;
    };
    toJson(parent?: AbstractOp): OperationCopy;
    toCompact(parent: undefined | AbstractOp, verbose: boolean): CompactCopyOp;
}
