/** * The "import existing project" dialog of the sidebar project list: a path * input (absolute or `~`-prefixed), an optional title input, and the copy * notice; a settled import shows the returned summary (title, workspace * directory, entry file, figure count, warnings), a rejected one the failure * message. Rendered through a portal to `document.body`: inside the workbench * tree a transformed/backdrop-filtered ancestor would become the containing * block of the fixed backdrop (same trap as the fullscreen PDF reader). * @module dsh-client-ui-mimir/client/ImportProjectDialog */ import type { ResearchImportedProject } from 'dsh-mimir/types'; import type { ResearchFailureView } from './controller.ts'; import type { ResearchT } from './view-common.ts'; /** * @param props - the import verb (refreshes the list and selects the new * project on success), the close callback, and copy. * @returns the modal dialog, portaled to the document body. */ export declare function ImportProjectDialog({ importProject, onClose, t }: { readonly importProject: (path: string, title?: string) => Promise; readonly onClose: () => void; readonly t: ResearchT; }): import("react").ReactPortal; //# sourceMappingURL=ImportProjectDialog.d.ts.map