import { ComponentPropsWithoutRef } from 'react';
import { AnonZoneProps } from './anon-zone';
interface AnonCanvasProps extends Omit<ComponentPropsWithoutRef<"canvas">, "width" | "height"> {
    imageSrc: string;
    zones?: AnonZoneProps[];
    zoneColor?: string;
    width?: number;
    height?: number;
}
export interface AnonCanvasApi {
    reset: () => void;
    toBlob: () => Promise<Blob | null>;
    toBase64: () => string | null;
}
export declare const AnonCanvas: import('react').ForwardRefExoticComponent<AnonCanvasProps & import('react').RefAttributes<AnonCanvasApi>>;
export {};
