import type { Body, Meta, Uppy } from '@uppy/core'; import { type DashboardOptions } from '@uppy/dashboard'; import type React from 'react'; import { Component } from 'react'; type DashboardInlineOptions = Omit & { inline: false; }, 'inline' | 'onRequestCloseModal'> & React.BaseHTMLAttributes; export interface DashboardModalProps extends DashboardInlineOptions { uppy: Uppy; onRequestClose?: () => void; open?: boolean; } /** * React Component that renders a Dashboard for an Uppy instance in a Modal * dialog. Visibility of the Modal is toggled using the `open` prop. */ declare class DashboardModal extends Component> { static defaultProps: { open: undefined; onRequestClose: undefined; }; private container; private plugin; componentDidMount(): void; componentDidUpdate(prevProps: DashboardModal['props']): void; componentWillUnmount(): void; installPlugin(): void; uninstallPlugin(props?: Readonly>): void; render(): React.DetailedReactHTMLElement<{ className: string; ref: (container: HTMLElement) => void; }, HTMLElement>; } export default DashboardModal; //# sourceMappingURL=DashboardModal.d.ts.map