import { CloudinaryAssetMgmtCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { CloudinaryAssetMgmtError } from "../models/errors/cloudinaryassetmgmterror.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.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";
/**
 * Create image from text
 *
 * @remarks
 * Dynamically generates an image from a specified text string.
 */
export declare function uploadText(client: CloudinaryAssetMgmtCore, resourceType: operations.TextResourceType, requestBody: operations.TextRequestBody, options?: RequestOptions): APIPromise<Result<operations.TextResponse, errors.ApiError | CloudinaryAssetMgmtError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
//# sourceMappingURL=uploadText.d.ts.map