import { FlexpriceCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { FlexPriceError } from "../sdk/models/flex-price-error.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/http-client-errors.js"; import * as models from "../sdk/models/index.js"; import { ResponseValidationError } from "../sdk/models/response-validation-error.js"; import { SDKValidationError } from "../sdk/models/sdk-validation-error.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Add addon to subscription * * @remarks * Deprecated: use POST /subscriptions/{id}/modify/execute with type "addon" and action "add", which also supports previewing the proration charge first. * Use when adding an optional product or add-on to an existing subscription (e.g. extra storage or support tier). * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ export declare function subscriptionsAddSubscriptionAddon(client: FlexpriceCore, request: models.AddAddonRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=subscriptions-add-subscription-addon.d.ts.map