import { DialogProps } from "../client/editContext";
export type ComponentThumbnailDialogCaptureResult = {
    imageDataUrl: string;
    imageWidth?: number;
    imageHeight?: number;
};
export type ComponentThumbnailDialogProps = {
    componentName: string;
    captureThumbnail?: () => Promise<ComponentThumbnailDialogCaptureResult>;
    imageDataUrl?: string;
    imageWidth?: number;
    imageHeight?: number;
};
export declare function ComponentThumbnailDialog(props: ComponentThumbnailDialogProps & DialogProps<ComponentThumbnailDialogCaptureResult | null>): import("react").JSX.Element;
