import { Cff, OtGlyph } from "@ot-builder/ot-glyphs";
import { Data } from "@ot-builder/prelude";
import { OtVar } from "@ot-builder/variance";
import { CffCfg } from "../cfg";
import { CharStringGlobalOptimizeResult } from "../char-string/write/global-optimize/general";
import { CffReadContext } from "../context/read";
import { CffWriteContext } from "../context/write";
import { CffTopDictRead } from "../dict/top";
export declare function readCffCommon(cff: Cff.Table, gOrd: Data.Order<OtGlyph>, topDict: CffTopDictRead, ctx: CffReadContext, gSubrs: Buffer[], designSpace?: Data.Maybe<OtVar.DesignSpace>): void;
export declare function cffCleanupUnusedData(cff: Cff.Table): void;
export declare function applyBuildResults(cff: Cff.Table, results: CharStringGlobalOptimizeResult): void;
export declare function buildCharStrings(cff: Cff.Table, cfg: CffCfg, gOrd: Data.Order<OtGlyph>, ctx: CffWriteContext): CharStringGlobalOptimizeResult;
export declare function getRevFdSelect(cff: Cff.Table, gOrd: Data.Order<OtGlyph>): number[];
//# sourceMappingURL=shared.d.ts.map