import type { DialogProps as NutDialogProps } from '@nutui/nutui-react-taro'; import type { FunctionComponent } from 'react'; import { type ButtonProps } from '../button/button.taro'; type ContentAlignType = 'left' | 'right' | 'center'; interface DialogProps extends NutDialogProps { confirmButtonProps: Partial; cancelButtonProps: Partial; /** * 内容对齐类型 * @default left */ contentAlign: ContentAlignType } export declare const mjPrefix = "mj-dialog"; declare const Dialog: FunctionComponent> & { open: typeof open; close: typeof close; }; declare const open: (selector: string, options: Partial) => void; declare const close: typeof import("@nutui/nutui-react-taro/dist/es/packages/dialog/dialog").close; export { Dialog }; export type { DialogProps };