import { IConnection, IOptions } from "../../../../connection.ts";
import { Service } from "../../../../espConnection.ts";
export declare namespace WsSasha {
    type unsignedInt = number;
    enum WUTypes {
        ECL = "ECL",
        DFU = "DFU"
    }
    interface ArchiveWURequest {
        Wuid?: string;
        WUType?: WUTypes;
        DeleteOnSuccess?: boolean;
    }
    interface Exception {
        Code: string;
        Audience: string;
        Source: string;
        Message: string;
    }
    interface Exceptions {
        Source: string;
        Exception: Exception[];
    }
    interface ResultResponse {
        Exceptions: Exceptions;
        Result: string;
    }
    interface GetVersionRequest {
    }
    interface ListWURequest {
        WUType?: WUTypes;
        Wuid?: string;
        Cluster?: string;
        Owner?: string;
        JobName?: string;
        State?: string;
        FromDate?: string;
        ToDate?: string;
        Archived?: boolean;
        Online?: boolean;
        IncludeDT?: boolean;
        BeforeWU?: string;
        AfterWU?: string;
        MaxNumberWUs?: unsignedInt;
        Descending?: boolean;
        OutputFields?: string;
    }
    interface WSSashaPingRequest {
    }
    interface WSSashaPingResponse {
    }
    interface RestoreWURequest {
        Wuid?: string;
        WUType?: WUTypes;
    }
}
export declare class SashaServiceBase extends Service {
    constructor(optsConnection: IOptions | IConnection);
    ArchiveWU(request: Partial<WsSasha.ArchiveWURequest>): Promise<WsSasha.ResultResponse>;
    GetVersion(request: Partial<WsSasha.GetVersionRequest>): Promise<WsSasha.ResultResponse>;
    ListWU(request: Partial<WsSasha.ListWURequest>): Promise<WsSasha.ResultResponse>;
    Ping(request: Partial<WsSasha.WSSashaPingRequest>): Promise<WsSasha.WSSashaPingResponse>;
    RestoreWU(request: Partial<WsSasha.RestoreWURequest>): Promise<WsSasha.ResultResponse>;
}
