import { IConnection, IOptions } from "../../../../connection.ts";
import { Service } from "../../../../espConnection.ts";
export declare namespace WsPackageProcess {
    type int = number;
    type nonNegativeInteger = number;
    interface ActivatePackageRequest {
        Target?: string;
        PackageMap?: string;
        Process?: string;
        GlobalScope?: boolean;
    }
    interface Exception {
        Code: string;
        Audience: string;
        Source: string;
        Message: string;
    }
    interface Exceptions {
        Source: string;
        Exception: Exception[];
    }
    interface status {
        Code: int;
        Description: string;
    }
    interface ActivatePackageResponse {
        Exceptions: Exceptions;
        status: status;
    }
    interface AddPackageRequest {
        Info?: string;
        Activate?: boolean;
        OverWrite?: boolean;
        Target?: string;
        PackageMap?: string;
        Process?: string;
        DaliIp?: string;
        GlobalScope?: boolean;
        SourceProcess?: string;
        AllowForeignFiles?: boolean;
        PreloadAllPackages?: boolean;
        ReplacePackageMap?: boolean;
        UpdateSuperFiles?: boolean;
        UpdateCloneFrom?: boolean;
        AppendCluster?: boolean;
        DfuCopyFiles?: boolean;
        DfuQueue?: string;
        DfuWait?: nonNegativeInteger;
        DfuOverwrite?: boolean;
        OnlyCopyFiles?: boolean;
        StopIfFilesCopied?: boolean;
        DfuPublisherWuid?: string;
        RemoteStorage?: string;
        KeyCompression?: string;
    }
    interface FilesNotFound {
        File: string[];
    }
    interface AddPackageResponse {
        Exceptions: Exceptions;
        status: status;
        FilesNotFound: FilesNotFound;
        DfuPublisherWuid: string;
        DfuPublisherState: string;
    }
    interface AddPartToPackageMapRequest {
        Target?: string;
        Process?: string;
        PackageMap?: string;
        GlobalScope?: boolean;
        PartName?: string;
        Content?: string;
        DeletePrevious?: boolean;
        DaliIp?: string;
        SourceProcess?: string;
        AllowForeignFiles?: boolean;
        PreloadAllPackages?: boolean;
        UpdateSuperFiles?: boolean;
        UpdateCloneFrom?: boolean;
        AppendCluster?: boolean;
        DfuCopyFiles?: boolean;
        DfuQueue?: string;
        DfuWait?: nonNegativeInteger;
        DfuOverwrite?: boolean;
        OnlyCopyFiles?: boolean;
        StopIfFilesCopied?: boolean;
        DfuPublisherWuid?: string;
        RemoteStorage?: string;
        KeyCompression?: string;
    }
    interface AddPartToPackageMapResponse {
        Exceptions: Exceptions;
        status: status;
        FilesNotFound: FilesNotFound;
        DfuPublisherWuid: string;
        DfuPublisherState: string;
    }
    interface CopyPackageMapRequest {
        SourcePath?: string;
        RemoteUserName?: string;
        RemotePassword?: string;
        Target?: string;
        Process?: string;
        PMID?: string;
        Activate?: boolean;
        DaliIp?: string;
        GlobalScope?: boolean;
        SourceProcess?: string;
        PreloadAllPackages?: boolean;
        ReplacePackageMap?: boolean;
        UpdateSuperFiles?: boolean;
        UpdateCloneFrom?: boolean;
        AppendCluster?: boolean;
        DfuCopyFiles?: boolean;
        DfuQueue?: string;
        DfuWait?: nonNegativeInteger;
        DfuOverwrite?: boolean;
        OnlyCopyFiles?: boolean;
        StopIfFilesCopied?: boolean;
        DfuPublisherWuid?: string;
        RemoteStorage?: string;
        KeyCompression?: string;
    }
    interface CopyPackageMapResponse {
        Exceptions: Exceptions;
        status: status;
        FilesNotFound: FilesNotFound;
        DfuPublisherWuid: string;
        DfuPublisherState: string;
    }
    interface DeActivatePackageRequest {
        Target?: string;
        PackageMap?: string;
        Process?: string;
        GlobalScope?: boolean;
    }
    interface DeActivatePackageResponse {
        Exceptions: Exceptions;
        status: status;
    }
    interface PackageMap {
        Id: string;
        Target: string;
        Process: string;
    }
    interface PackageMaps {
        PackageMap: PackageMap[];
    }
    interface DeletePackageRequest {
        Target?: string;
        PackageMap?: string;
        Process?: string;
        GlobalScope?: boolean;
        PackageMaps?: PackageMaps;
    }
    interface DeletePackageResponse {
        Exceptions: Exceptions;
        status: status;
    }
    interface EchoRequest {
        Request?: string;
    }
    interface EchoResponse {
        Response: string;
    }
    interface GetPackageRequest {
        Target?: string;
        Process?: string;
    }
    interface GetPackageResponse {
        Exceptions: Exceptions;
        status: status;
        Info: string;
    }
    interface GetPackageMapByIdRequest {
        PackageMapId?: string;
    }
    interface GetPackageMapByIdResponse {
        Exceptions: Exceptions;
        status: status;
        Info: string;
    }
    interface GetPackageMapSelectOptionsRequest {
        IncludeTargets?: boolean;
        IncludeProcesses?: boolean;
        IncludeProcessFilters?: boolean;
    }
    interface Processes {
        Item: string[];
    }
    interface TargetData {
        Name: string;
        Type: string;
        Processes: Processes;
    }
    interface Targets {
        TargetData: TargetData[];
    }
    interface ProcessFilters {
        Item: string[];
    }
    interface GetPackageMapSelectOptionsResponse {
        Exceptions: Exceptions;
        status: status;
        Targets: Targets;
        ProcessFilters: ProcessFilters;
    }
    interface GetPartFromPackageMapRequest {
        Target?: string;
        PackageMap?: string;
        GlobalScope?: boolean;
        PartName?: string;
    }
    interface GetPartFromPackageMapResponse {
        Exceptions: Exceptions;
        status: status;
        Content: string;
    }
    interface GetQueryFileMappingRequest {
        Target?: string;
        PMID?: string;
        QueryName?: string;
        GlobalScope?: boolean;
    }
    interface UnmappedFiles {
        File: string[];
    }
    interface SubFiles {
        File: string[];
    }
    interface SuperFile {
        Name: string;
        SubFiles: SubFiles;
    }
    interface SuperFiles {
        SuperFile: SuperFile[];
    }
    interface GetQueryFileMappingResponse {
        Exceptions: Exceptions;
        UnmappedFiles: UnmappedFiles;
        SuperFiles: SuperFiles;
    }
    interface ListPackageRequest {
        Target?: string;
        Process?: string;
    }
    interface PackageListData {
        Id: string;
        Queries: string;
    }
    interface PkgListData {
        PackageListData: PackageListData[];
    }
    interface PackageListMapData {
        Id: string;
        Target: string;
        Process: string;
        PkgListData: PkgListData;
        Active: boolean;
        Description: string;
    }
    interface PkgListMapData {
        PackageListMapData: PackageListMapData[];
    }
    interface ListPackageResponse {
        Exceptions: Exceptions;
        status: status;
        PkgListMapData: PkgListMapData;
    }
    interface ListPackagesRequest {
        Target?: string;
        Process?: string;
        ProcessFilter?: string;
    }
    interface PackageMapList {
        PackageListMapData: PackageListMapData[];
    }
    interface ListPackagesResponse {
        Exceptions: Exceptions;
        status: status;
        PackageMapList: PackageMapList;
    }
    interface WsPackageProcessPingRequest {
    }
    interface WsPackageProcessPingResponse {
    }
    interface RemovePartFromPackageMapRequest {
        Target?: string;
        PackageMap?: string;
        GlobalScope?: boolean;
        PartName?: string;
    }
    interface RemovePartFromPackageMapResponse {
        Exceptions: Exceptions;
        status: status;
    }
    interface QueriesToVerify {
        Item: string[];
    }
    interface QueriesToIgnore {
        Item: string[];
    }
    interface ValidatePackageRequest {
        Info?: string;
        Target?: string;
        Process?: string;
        Active?: boolean;
        PMID?: string;
        QueryIdToVerify?: string;
        QueriesToVerify?: QueriesToVerify;
        QueriesToIgnore?: QueriesToIgnore;
        CheckDFS?: boolean;
        GlobalScope?: boolean;
        IgnoreWarnings?: boolean;
        IgnoreOptionalFiles?: boolean;
    }
    interface Warnings {
        Item: string[];
    }
    interface Errors {
        Item: string[];
    }
    interface Unmatched {
        Item: string[];
    }
    interface packages {
        Unmatched: Unmatched;
    }
    interface queries {
        Unmatched: Unmatched;
    }
    interface NotInDFS {
        File: string[];
    }
    interface files {
        Unmatched: Unmatched;
        NotInDFS: NotInDFS;
    }
    interface Result {
        Target: string;
        PMID: string;
        Warnings: Warnings;
        Errors: Errors;
        packages: packages;
        queries: queries;
        files: files;
    }
    interface Results {
        Result: Result[];
    }
    interface ValidatePackageResponse {
        Exceptions: Exceptions;
        Results: Results;
    }
}
export declare class PackageProcessServiceBase extends Service {
    constructor(optsConnection: IOptions | IConnection);
    ActivatePackage(request: Partial<WsPackageProcess.ActivatePackageRequest>): Promise<WsPackageProcess.ActivatePackageResponse>;
    AddPackage(request: Partial<WsPackageProcess.AddPackageRequest>): Promise<WsPackageProcess.AddPackageResponse>;
    AddPartToPackageMap(request: Partial<WsPackageProcess.AddPartToPackageMapRequest>): Promise<WsPackageProcess.AddPartToPackageMapResponse>;
    CopyPackageMap(request: Partial<WsPackageProcess.CopyPackageMapRequest>): Promise<WsPackageProcess.CopyPackageMapResponse>;
    DeActivatePackage(request: Partial<WsPackageProcess.DeActivatePackageRequest>): Promise<WsPackageProcess.DeActivatePackageResponse>;
    DeletePackage(request: Partial<WsPackageProcess.DeletePackageRequest>): Promise<WsPackageProcess.DeletePackageResponse>;
    Echo(request: Partial<WsPackageProcess.EchoRequest>): Promise<WsPackageProcess.EchoResponse>;
    GetPackage(request: Partial<WsPackageProcess.GetPackageRequest>): Promise<WsPackageProcess.GetPackageResponse>;
    GetPackageMapById(request: Partial<WsPackageProcess.GetPackageMapByIdRequest>): Promise<WsPackageProcess.GetPackageMapByIdResponse>;
    GetPackageMapSelectOptions(request: Partial<WsPackageProcess.GetPackageMapSelectOptionsRequest>): Promise<WsPackageProcess.GetPackageMapSelectOptionsResponse>;
    GetPartFromPackageMap(request: Partial<WsPackageProcess.GetPartFromPackageMapRequest>): Promise<WsPackageProcess.GetPartFromPackageMapResponse>;
    GetQueryFileMapping(request: Partial<WsPackageProcess.GetQueryFileMappingRequest>): Promise<WsPackageProcess.GetQueryFileMappingResponse>;
    ListPackage(request: Partial<WsPackageProcess.ListPackageRequest>): Promise<WsPackageProcess.ListPackageResponse>;
    ListPackages(request: Partial<WsPackageProcess.ListPackagesRequest>): Promise<WsPackageProcess.ListPackagesResponse>;
    Ping(request: Partial<WsPackageProcess.WsPackageProcessPingRequest>): Promise<WsPackageProcess.WsPackageProcessPingResponse>;
    RemovePartFromPackageMap(request: Partial<WsPackageProcess.RemovePartFromPackageMapRequest>): Promise<WsPackageProcess.RemovePartFromPackageMapResponse>;
    ValidatePackage(request: Partial<WsPackageProcess.ValidatePackageRequest>): Promise<WsPackageProcess.ValidatePackageResponse>;
}
