import { Ref } from "vue";
import { ImportProfile, ISearchImportProfilesCriteria } from "@virtocommerce/import-app-api";
import { ExtProfile } from "../useImport";
export default function useImportProfiles(): {
    loading: import("vue").ComputedRef<boolean>;
    importProfiles: import("vue").ComputedRef<{
        name?: string | undefined | undefined;
        dataImporterType?: string | undefined | undefined;
        userId?: string | undefined | undefined;
        userName?: 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;
        readonly typeName?: string | undefined | undefined;
        profileType?: string | undefined | undefined;
        importFileUrl?: string | undefined | undefined;
        importReportUrl?: string | undefined | undefined;
        importReporterType?: string | undefined | undefined;
        previewObjectCount?: number | 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;
        importer?: {
            readonly typeName?: string | undefined | undefined;
            readonly metadata?: {
                [key: string]: string;
            } | undefined | undefined;
            availSettings?: {
                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").SettingDescriptorValueType | undefined;
                allowedValues?: any[] | undefined | undefined;
                defaultValue?: any | undefined;
                isDictionary?: boolean | undefined;
                isLocalizable?: boolean | undefined;
                init: (_data?: any) => void;
                toJSON: (data?: any) => any;
            }[] | undefined;
            authorizationRequirement?: {
                init: (_data?: any) => void;
                toJSON: (data?: any) => any;
            } | undefined;
            init: (_data?: any) => void;
            toJSON: (data?: any) => any;
        } | undefined;
        inProgress?: boolean | undefined;
        jobId?: string | undefined;
    }[]>;
    dataImporters: import("vue").ComputedRef<{
        readonly typeName?: string | undefined | undefined;
        readonly metadata?: {
            [key: string]: string;
        } | undefined | undefined;
        availSettings?: {
            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").SettingDescriptorValueType | undefined;
            allowedValues?: any[] | undefined | undefined;
            defaultValue?: any | undefined;
            isDictionary?: boolean | undefined;
            isLocalizable?: boolean | undefined;
            init: (_data?: any) => void;
            toJSON: (data?: any) => any;
        }[] | undefined;
        authorizationRequirement?: {
            init: (_data?: any) => void;
            toJSON: (data?: any) => any;
        } | undefined;
        init: (_data?: any) => void;
        toJSON: (data?: any) => any;
    }[]>;
    dataImportersLoading: Readonly<Ref<boolean, boolean>>;
    modified: import("vue").ComputedRef<boolean>;
    updateImportProfileLoading: import("vue").ComputedRef<boolean>;
    profile: Ref<ExtProfile, ExtProfile>;
    profileDetails: Ref<{
        name?: string | undefined | undefined;
        dataImporterType?: string | undefined | undefined;
        userId?: string | undefined | undefined;
        userName?: 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;
        readonly typeName?: string | undefined | undefined;
        profileType?: string | undefined | undefined;
        importFileUrl?: string | undefined | undefined;
        importReportUrl?: string | undefined | undefined;
        importReporterType?: string | undefined | undefined;
        previewObjectCount?: number | 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;
    }, ImportProfile | {
        name?: string | undefined | undefined;
        dataImporterType?: string | undefined | undefined;
        userId?: string | undefined | undefined;
        userName?: 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;
        readonly typeName?: string | undefined | undefined;
        profileType?: string | undefined | undefined;
        importFileUrl?: string | undefined | undefined;
        importReportUrl?: string | undefined | undefined;
        importReporterType?: string | undefined | undefined;
        previewObjectCount?: number | 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;
    }>;
    fetchDataImporters: import("@vc-shell/framework").AsyncAction<void, {
        readonly typeName?: string | undefined | undefined;
        readonly metadata?: {
            [key: string]: string;
        } | undefined | undefined;
        availSettings?: {
            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").SettingDescriptorValueType | undefined;
            allowedValues?: any[] | undefined | undefined;
            defaultValue?: any | undefined;
            isDictionary?: boolean | undefined;
            isLocalizable?: boolean | undefined;
            init: (_data?: any) => void;
            toJSON: (data?: any) => any;
        }[] | undefined;
        authorizationRequirement?: {
            init: (_data?: any) => void;
            toJSON: (data?: any) => any;
        } | undefined;
        init: (_data?: any) => void;
        toJSON: (data?: any) => any;
    }[]>;
    fetchImportProfiles: import("@vc-shell/framework").AsyncAction<Omit<ISearchImportProfilesCriteria, "userId">, void>;
    loadImportProfile: import("@vc-shell/framework").AsyncAction<{
        id: string;
    }, void>;
    createImportProfile: import("@vc-shell/framework").AsyncAction<ImportProfile, void>;
    updateImportProfile: import("@vc-shell/framework").AsyncAction<ImportProfile, void>;
    deleteImportProfile: import("@vc-shell/framework").AsyncAction<{
        id: string;
    }, void>;
    setImporter: (typeName: string) => void;
    setProfiles: (extProfiles: ExtProfile[]) => void;
    setProfile: (extProfile: ExtProfile) => void;
};
//# sourceMappingURL=index.d.ts.map