import { IamClientCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import * as components from "../models/components/index.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
import { IamClientError } from "../models/errors/iamclienterror.js";
import * as errors from "../models/errors/index.js";
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
import * as operations from "../models/operations/index.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
/**
 * Change the type of an agreement
 *
 * @remarks
 * Changes the type of an existing agreement to a different configured type.
 * The target type must exist in the account's agreement-types collection.
 * Upon successful change, the server recomputes the category based on the new type.
 *
 * If set, this operation will use {@link Security.accessToken} from the global security.
 */
export declare function agreementManagerAgreementsChangeAgreementType(client: IamClientCore, request: operations.ChangeAgreementTypeRequest, options?: RequestOptions): APIPromise<Result<components.ChangeAgreementTypeResponse, errors.ErrDetails | IamClientError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
//# sourceMappingURL=agreementManagerAgreementsChangeAgreementType.d.ts.map