import React from 'react';
import type { LocalKeys } from '../../I18n';
export type SupportedFormat = {
    type: string;
    extensions: string[];
    icon: React.ReactNode;
    content?: React.ReactNode;
};
export type AttachmentButtonPopoverProps = {
    children?: React.ReactNode;
    supportedFormat?: SupportedFormat;
    /**
     * @deprecated 上传动作由 AttachmentButton 外层点击统一触发；
     * 该组件仅展示支持格式提示。
     */
    uploadImage?: (forGallery?: boolean) => Promise<void>;
    /** 国际化文案，可覆盖 I18n 上下文中的配置。支持 `input.supportedFormatMessage`（模板变量：${extensions}） */
    locale?: Partial<LocalKeys>;
};
export declare const SupportedFileFormats: {
    image: {
        icon: React.JSX.Element;
        type: string;
        extensions: string[];
    };
    document: {
        icon: React.JSX.Element;
        type: string;
        extensions: string[];
    };
    audio: {
        icon: React.JSX.Element;
        type: string;
        extensions: string[];
    };
    video: {
        icon: React.JSX.Element;
        type: string;
        extensions: string[];
    };
};
export declare const AttachmentSupportedFormatsContent: React.FC<AttachmentButtonPopoverProps>;
export declare const AttachmentButtonPopover: React.FC<AttachmentButtonPopoverProps>;
export default AttachmentButtonPopover;
