import { OtGlyph } from "../ot-glyph";
export interface OtGeometrySinkClass<T> {
    new (): OtGeometrySink<T>;
}
export interface OtGeometrySink<T> {
    beginContour(): void;
    addControlKnot(knot: OtGlyph.Point): void;
    endContour(): void;
    getResult(): T;
}
export declare class OtGeometryTraverse<T> {
    protected readonly sink: OtGeometrySink<T>;
    constructor(sink: OtGeometrySink<T>);
    process(geom: OtGlyph.Geometry): void;
}
//# sourceMappingURL=shared.d.ts.map