import React from 'react';
import type { CreateDeviceConnectionPayload, DeviceConnectionType, DeviceItem, DeviceStructure, I18nText, SaasAppPeripheralProps } from '../types';
import type { ConnectMode } from '../hooks/useConnectDeviceModal';
interface ConnectExistingDeviceModalProps {
    open: boolean;
    mode: ConnectMode;
    connectionType?: DeviceConnectionType;
    targetStructure?: DeviceStructure;
    currentDevice: DeviceItem;
    connectedDeviceIds: number[];
    currentWorkAreaId?: number;
    variant?: SaasAppPeripheralProps['variant'];
    getText: (key: string) => string;
    translation: (val?: I18nText) => string;
    submitting: boolean;
    onClose: () => void;
    onSubmit?: (payload: CreateDeviceConnectionPayload) => void;
}
declare const ConnectExistingDeviceModal: React.FC<ConnectExistingDeviceModalProps>;
export default ConnectExistingDeviceModal;
