export declare const BASE_URL = "https://z-image.ai";
export declare const SIZE_MAP: Record<string, string>;
export declare const ASPECT_RATIOS: readonly ["1:1", "16:9", "3:2", "2:3", "3:4", "4:3", "9:16"];
export type AspectRatio = (typeof ASPECT_RATIOS)[number];
export declare const OUTPUT_FORMATS: readonly ["png", "jpeg", "webp"];
export type OutputFormat = (typeof OUTPUT_FORMATS)[number];
export declare const RESOLUTIONS: readonly ["480p", "720p", "1080p"];
export type Resolution = (typeof RESOLUTIONS)[number];
export interface TaskResult {
    taskId: string;
    status: string;
    output?: string;
    outputs?: string[];
}
export interface ApiResponse<T = unknown> {
    code: number;
    data?: T;
    message?: string;
}
export interface StatusData {
    status: string;
    output?: string;
    outputs?: string[];
    image_url?: string;
    url?: string;
    output_url?: string;
    image?: string;
}
export interface GenerateResponse {
    code: number;
    data?: {
        taskId: string;
        [key: string]: unknown;
    };
    message?: string;
}
export declare function extractOutputUrl(data: StatusData): string | null;
export interface ToolEndpoint {
    endpoint: string;
    scenario: string;
}
export declare const TOOL_ENDPOINTS: Record<string, ToolEndpoint>;
//# sourceMappingURL=types.d.ts.map