import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; /** * (可选)指定图片主类别。 * * @remarks * * **支持的主类别:** * - `acg`(二次元动漫,UapiPro服务器) * - `landscape`(风景图,外部图床) * - `anime`(混合动漫) * - `pc_wallpaper`(电脑壁纸,外部图床) * - `mobile_wallpaper`(手机壁纸,外部图床) * - `general_anime`(动漫图,外部图床) * - `ai_drawing`(AI绘画,外部图床) * - `bq`(表情包/趣图,UapiPro服务器) * - `furry`(福瑞,UapiPro服务器) * * > [!TIP] * > 如果不指定,将从所有图片中随机抽取(不包含 `ikun` 和 `ai_drawing`)。 */ export declare const GetRandomImageCategory: { readonly Acg: "acg"; readonly Landscape: "landscape"; readonly Anime: "anime"; readonly PcWallpaper: "pc_wallpaper"; readonly MobileWallpaper: "mobile_wallpaper"; readonly GeneralAnime: "general_anime"; readonly AiDrawing: "ai_drawing"; readonly Bq: "bq"; readonly Furry: "furry"; }; /** * (可选)指定图片主类别。 * * @remarks * * **支持的主类别:** * - `acg`(二次元动漫,UapiPro服务器) * - `landscape`(风景图,外部图床) * - `anime`(混合动漫) * - `pc_wallpaper`(电脑壁纸,外部图床) * - `mobile_wallpaper`(手机壁纸,外部图床) * - `general_anime`(动漫图,外部图床) * - `ai_drawing`(AI绘画,外部图床) * - `bq`(表情包/趣图,UapiPro服务器) * - `furry`(福瑞,UapiPro服务器) * * > [!TIP] * > 如果不指定,将从所有图片中随机抽取(不包含 `ikun` 和 `ai_drawing`)。 */ export type GetRandomImageCategory = ClosedEnum; export declare const GetRandomImageCategory$zodSchema: z.ZodEnum<{ acg: "acg"; landscape: "landscape"; anime: "anime"; pc_wallpaper: "pc_wallpaper"; mobile_wallpaper: "mobile_wallpaper"; general_anime: "general_anime"; ai_drawing: "ai_drawing"; bq: "bq"; furry: "furry"; }>; /** * (可选,仅UapiPro服务器图片支持)指定图片子类别。 * * @remarks * * - **bq**: `xiongmao`, `waiguoren`, `maomao`, `ikun`, `eciyuan` * - **acg**: `pc`, `mb` * - **furry**: `z4k`, `szs8k`, `s4k`, `4k` * * > [!TIP] * > 外部图床类别和 `anime` 混合类别不支持 `type` 参数。 */ export declare const GetRandomImageType: { readonly Pc: "pc"; readonly Mb: "mb"; readonly Eciyuan: "eciyuan"; readonly Ikun: "ikun"; readonly Fourk: "4k"; readonly S4k: "s4k"; readonly Z4k: "z4k"; readonly Szs8k: "szs8k"; readonly Xiongmao: "xiongmao"; readonly Maomao: "maomao"; readonly Waiguoren: "waiguoren"; }; /** * (可选,仅UapiPro服务器图片支持)指定图片子类别。 * * @remarks * * - **bq**: `xiongmao`, `waiguoren`, `maomao`, `ikun`, `eciyuan` * - **acg**: `pc`, `mb` * - **furry**: `z4k`, `szs8k`, `s4k`, `4k` * * > [!TIP] * > 外部图床类别和 `anime` 混合类别不支持 `type` 参数。 */ export type GetRandomImageType = ClosedEnum; export declare const GetRandomImageType$zodSchema: z.ZodEnum<{ pc: "pc"; mb: "mb"; eciyuan: "eciyuan"; ikun: "ikun"; "4k": "4k"; s4k: "s4k"; z4k: "z4k"; szs8k: "szs8k"; xiongmao: "xiongmao"; maomao: "maomao"; waiguoren: "waiguoren"; }>; export type GetRandomImageRequest = { category?: GetRandomImageCategory | undefined; type?: GetRandomImageType | undefined; }; export declare const GetRandomImageRequest$zodSchema: z.ZodType; /** * 服务器内部错误。 */ export type GetRandomImageInternalServerErrorResponseBody = { code?: string | undefined; message?: string | undefined; }; export declare const GetRandomImageInternalServerErrorResponseBody$zodSchema: z.ZodType; /** * 未找到指定类别的图片。 */ export type GetRandomImageNotFoundResponseBody = { code?: string | undefined; message?: string | undefined; }; export declare const GetRandomImageNotFoundResponseBody$zodSchema: z.ZodType; export type GetRandomImageResponse = Uint8Array | string | GetRandomImageNotFoundResponseBody | GetRandomImageInternalServerErrorResponseBody; export declare const GetRandomImageResponse$zodSchema: z.ZodType; //# sourceMappingURL=getrandomimageop.d.ts.map