import type { Frag } from "@ot-builder/bin-util";
import type { Data } from "@ot-builder/prelude";
import * as CffInterp from "../../interp/ir";
export declare class CharStringEncoder extends CffInterp.Encoder<Frag> {
    private frag;
    constructor(frag: Frag);
    protected operand(val: number): void | Frag;
    private encodeInt;
    private encodeReal;
    protected operator(opCode: number, flags?: Data.Maybe<number[]>): void;
    static measureOperand(val: number): number;
    static measureInt(val: number): 1 | 2 | 3;
    static measureReal(val: number): number;
    static measureOperator(opCode: number, flags?: Data.Maybe<number[]>): number;
}
//# sourceMappingURL=encoder.d.ts.map