import type { CompactTypeOp } from '../codec/compact/types';
import { AbstractPredicateOp } from './AbstractPredicateOp';
import type { OperationType, JsonPatchTypes } from '../types';
import { type Path } from '@jsonjoy.com/json-pointer';
import { OPCODE } from '../constants';
import type { AbstractOp } from './AbstractOp';
/**
 * @category JSON Predicate
 */
export declare class OpType extends AbstractPredicateOp<'type'> {
    readonly value: JsonPatchTypes;
    constructor(path: Path, value: JsonPatchTypes);
    op(): "type";
    code(): OPCODE;
    test(doc: unknown): boolean;
    toJson(parent?: AbstractOp): OperationType;
    toCompact(parent: undefined | AbstractOp, verbose: boolean): CompactTypeOp;
}
