import * as z from "zod";
import { ClosedEnum } from "../types/enums.js";
import { ApiError } from "./apierror.js";
import { TextRequest } from "./textrequest.js";
import { TextResponse } from "./textresponse.js";
export type TextGlobals = {
    cloud_name?: string | undefined;
};
export declare const TextGlobals$zodSchema: z.ZodType<TextGlobals>;
/**
 * The type of resource to create. Must be "image" for text generation.
 */
export declare const TextResourceType: {
    readonly Image: "image";
};
/**
 * The type of resource to create. Must be "image" for text generation.
 */
export type TextResourceType = ClosedEnum<typeof TextResourceType>;
export declare const TextResourceType$zodSchema: z.ZodEnum<{
    image: "image";
}>;
export type TextRequestRequest = {
    resource_type: TextResourceType;
    text_request: TextRequest;
};
export declare const TextRequestRequest$zodSchema: z.ZodType<TextRequestRequest>;
export type TextResponseResponse = ApiError | TextResponse;
export declare const TextResponseResponse$zodSchema: z.ZodType<TextResponseResponse>;
//# sourceMappingURL=textop.d.ts.map