import type { MediaKind } from '@riverbankcms/media-storage-supabase';
import { type UploadIntentResolver, type VideoPrepIntentResolver } from '@riverbankcms/media-react';
import type { MediaValue } from './types';
export type MediaEditorProps = {
    value: MediaValue | undefined;
    onChange: (next: MediaValue | undefined) => void;
    allowedKinds?: readonly MediaKind[];
    previewAspectRatio?: number;
    minSourceWidth?: number;
    minSourceHeight?: number;
    showAltInput?: boolean;
    cropEditorMode?: 'dialog' | 'inline';
    cropEditorAutoOpen?: boolean;
    mediaPickerAutoOpen?: boolean;
    showPreview?: boolean;
    showActionOverlay?: boolean;
    onEditDetails?: () => void;
    fullWidth?: boolean;
    previewVariant?: 'default' | 'thumbnail';
    showRemoveAction?: boolean;
    uploadIntent?: UploadIntentResolver;
    videoPrepIntent?: VideoPrepIntentResolver;
};
export declare const MediaEditor: ({ value, onChange, allowedKinds, previewAspectRatio, minSourceWidth, minSourceHeight, showAltInput, cropEditorMode, cropEditorAutoOpen, mediaPickerAutoOpen, showPreview, showActionOverlay, onEditDetails, fullWidth, previewVariant, showRemoveAction, uploadIntent, videoPrepIntent, }: MediaEditorProps) => import("react/jsx-runtime").JSX.Element;
