import { ProDescriptionsProps } from '@ant-design/pro-components'; import { DrawerProps, ModalFuncProps, ModalProps, SpinProps } from 'antd'; import React from 'react'; export type DetailProps = ModalFuncProps & { dataSource?: Record; columns?: ProDescriptionsProps['columns']; desConfig?: ProDescriptionsProps; modalType?: 'modal' | 'drawer'; extraFooter?: React.ReactNode; }; type SchemaLayoutType = 'ModalForm' | 'DrawerForm'; type SchemaAlertProps = Record & { open?: boolean; title?: React.ReactNode; width?: number | string; layoutType?: SchemaLayoutType; modalProps?: ModalProps; drawerProps?: DrawerProps; onFinish?: (...args: any[]) => Promise | any; afterClose?: () => void; }; export declare const launch:

>(ModalComponent: React.ComponentType

) => (props: P) => import("../Portal/withAlert").AlertInstance

; export declare const launchSchema:

>(ModalComponent: React.ComponentType

) => (props: P) => import("../Portal/withAlert").AlertInstance

; export declare const launchDrawSchema:

>(ModalComponent: React.ComponentType

) => (props: P) => import("../Portal/withAlert").AlertInstance

; export declare const alert_edit: (props: SchemaAlertProps) => import("../Portal/withAlert").AlertInstance; export declare const alert_drawer_edit: (props: SchemaAlertProps) => import("../Portal/withAlert").AlertInstance; export declare const ModalDetail: (props: DetailProps) => React.JSX.Element; export declare const alert_detail: (props: DetailProps) => import("../Portal/withAlert").AlertInstance; export declare const alert_loading: (props: ModalProps & { spinProps?: SpinProps | undefined; }) => import("../Portal/withAlert").AlertInstance; export {};