import type { MediaKind } from '@riverbankcms/media-storage-supabase';
import { type UploadIntentResolver, type VideoPrepIntentResolver } from '../../media-react/src/index';
import type { VideoPrepIntent } from '../../media-core/src/index';
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;
    videoSelectionIntent?: VideoPrepIntent;
};
export declare const MediaEditor: ({ value, onChange, allowedKinds, previewAspectRatio, minSourceWidth, minSourceHeight, showAltInput, cropEditorMode, cropEditorAutoOpen, mediaPickerAutoOpen, showPreview, showActionOverlay, onEditDetails, fullWidth, previewVariant, showRemoveAction, uploadIntent, videoPrepIntent, videoSelectionIntent, }: MediaEditorProps) => import("react/jsx-runtime").JSX.Element;
