import { serializeAutoShapeWork } from "./mapper";
import type { AutoShapeContext, AutoShapeMappedWork, AutoShapePoint, AutoShapeResult } from "./types";
export * from "./types";
export declare function buildAutoShapeContext(params: {
    rawPoints: AutoShapePoint[];
    pencilOptions: AutoShapeContext["pencilOptions"];
    viewId: string;
    scenePath?: string;
}): AutoShapeContext | null;
export declare function detectAutoShape(context: AutoShapeContext): AutoShapeResult;
export declare function mapAutoShapeResult(result: AutoShapeResult, context: AutoShapeContext): AutoShapeMappedWork | null;
export { serializeAutoShapeWork };
