import { Ref } from "vue";
import { INotificationHistory, ExtProfile, IUploadedFile } from "../useImport";
export default function useImportStatus({ setProfiles, setFile, importProfiles, profile, }: {
    setProfiles: (extProfile: ExtProfile[]) => void;
    setFile: (file: IUploadedFile) => void;
    importProfiles: Ref<ExtProfile[]>;
    profile: Ref<ExtProfile>;
}): {
    loading: Readonly<Ref<boolean, boolean>>;
    importStatus: import("vue").ComputedRef<{
        notification?: {
            profileId?: string | undefined | undefined;
            profileName?: string | undefined | undefined;
            jobId?: string | undefined | undefined;
            estimatingRemaining?: boolean | undefined;
            estimatedRemaining?: string | undefined | undefined;
            finished?: Date | undefined;
            totalCount?: number | undefined;
            processedCount?: number | undefined;
            errorCount?: number | undefined;
            errors?: string[] | undefined | undefined;
            reportUrl?: string | undefined | undefined;
            serverId?: string | undefined | undefined;
            creator?: string | undefined | undefined;
            created?: Date | undefined;
            isNew?: boolean | undefined;
            notifyType?: string | undefined | undefined;
            description?: string | undefined | undefined;
            title?: string | undefined | undefined;
            repeatCount?: number | undefined;
            id?: string | undefined | undefined;
            createdDate?: Date | undefined;
        } | {
            userId?: string | undefined | undefined;
            userName?: string | undefined | undefined;
            jobId?: string | undefined | undefined;
            profileId?: string | undefined | undefined;
            profileName?: string | undefined | undefined;
            executed?: Date | undefined;
            finished?: Date | undefined;
            totalCount?: number | undefined;
            processedCount?: number | undefined;
            errorsCount?: number | undefined;
            errors?: string[] | undefined | undefined;
            fileUrl?: string | undefined | undefined;
            reportUrl?: string | undefined | undefined;
            readonly typeName?: string | undefined | undefined;
            settings?: {
                readonly itHasValues?: boolean | undefined;
                objectId?: string | undefined | undefined;
                objectType?: string | undefined | undefined;
                isReadOnly?: boolean | undefined;
                value?: any | undefined;
                id?: string | undefined | undefined;
                restartRequired?: boolean | undefined;
                moduleId?: string | undefined | undefined;
                groupName?: string | undefined | undefined;
                name?: string | undefined | undefined;
                displayName?: string | undefined | undefined;
                isRequired?: boolean | undefined;
                isHidden?: boolean | undefined;
                valueType?: import("@virtocommerce/import-app-api").ObjectSettingEntryValueType | undefined;
                allowedValues?: any[] | undefined | undefined;
                defaultValue?: any | undefined;
                isDictionary?: boolean | undefined;
                isLocalizable?: boolean | undefined;
                init: (_data?: any) => void;
                toJSON: (data?: any) => any;
            }[] | undefined;
            createdDate?: Date | undefined;
            modifiedDate?: Date | undefined;
            createdBy?: string | undefined | undefined;
            modifiedBy?: string | undefined | undefined;
            id?: string | undefined | undefined;
            init: (_data?: any) => void;
            toJSON: (data?: any) => any;
            created?: Date | undefined;
            errorCount?: number | undefined;
        } | undefined;
        jobId?: string | undefined;
        inProgress: boolean;
        progress?: number | undefined;
        estimatingRemaining?: boolean | undefined;
        estimatedRemaining?: string | undefined;
        fileName?: string | undefined;
    } | undefined>;
    importStarted: import("vue").ComputedRef<boolean>;
    setImportStarted: (value: boolean) => void;
    startImport: import("@vc-shell/framework").AsyncAction<ExtProfile, void>;
    cancelImport: import("@vc-shell/framework").AsyncAction<void, void>;
    clearImport: () => void;
    updateStatus: (notification: INotificationHistory) => void;
};
//# sourceMappingURL=index.d.ts.map