import { Cff, type OtGlyph } from "@ot-builder/ot-glyphs";
import type { Data } from "@ot-builder/prelude";
import type { OtVar } from "@ot-builder/variance";
import type { CffCfg } from "../cfg";
import type { CharStringGlobalOptimizeResult } from "../char-string/write/global-optimize/general";
import type { CffReadContext } from "../context/read";
import type { CffWriteContext } from "../context/write";
import type { 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