import type { ReactNode, DetailedHTMLProps, HTMLAttributes } from "react";
import React from "react";
import { CropperState } from "./Cropper";
import { RomaineRef } from "./Romaine.types";
export declare type CanvasProps = {
    image: File | string;
    onDragStop?: (s: CropperState) => void;
    onChange?: (s: CropperState) => void;
    pointSize?: number;
    lineWidth?: number;
    lineColor?: string;
    maxWidth: number;
    maxHeight: number;
    saltId?: string;
};
export interface RomaineCanvas extends Omit<Omit<CanvasProps, "image">, "romaineRef"> {
    openCvPath?: string;
    children?: ReactNode;
    image: File | string | null;
    wrapperProps?: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
}
export declare const Canvas: React.ForwardRefExoticComponent<RomaineCanvas & React.RefAttributes<RomaineRef>>;
//# sourceMappingURL=Canvas.d.ts.map