import { ModalConstructorArguments } from "tc-shared/ui/react-elements/modal/Definitions"; import { ModalController, ModalOptions } from "tc-shared/ui/react-elements/ModalDefinitions"; import { InternalModal, InternalModalController } from "tc-shared/ui/react-elements/internal-modal/Controller"; export declare function spawnModal(modal: T, constructorArguments: ModalConstructorArguments[T], options?: ModalOptions): ModalController; export declare function spawnReactModal(modalClass: new () => ModalClass): InternalModalController; export declare function spawnReactModal(modalClass: new (..._: [A1]) => ModalClass, arg1: A1): InternalModalController; export declare function spawnReactModal(modalClass: new (..._: [A1, A2]) => ModalClass, arg1: A1, arg2: A2): InternalModalController; export declare function spawnReactModal(modalClass: new (..._: [A1, A2, A3]) => ModalClass, arg1: A1, arg2: A2, arg3: A3): InternalModalController; export declare function spawnReactModal(modalClass: new (..._: [A1, A2, A3, A4]) => ModalClass, arg1: A1, arg2: A2, arg3: A3, arg4: A4): InternalModalController; export declare function spawnReactModal(modalClass: new (..._: [A1, A2, A3, A4]) => ModalClass, arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5): InternalModalController; export declare function spawnInternalModal(modal: T, constructorArguments: ModalConstructorArguments[T], options?: ModalOptions): InternalModalController;