import { ModalProps } from 'antd'; export type SDKModalProps = { open: boolean; onClose: () => void; SDKCode?: string; loadSDK?: () => Promise; title: string; subTitle?: string; modalConfig?: ModalProps; documentLink?: string; /** * @deprecated 语言由 DataHubProvider / antd ConfigProvider 决定,此字段不再读取 */ locale?: 'zh' | 'en'; }; export type SDKModalConfig = Omit;