export interface OutputConfig {
    /**
     * Output format for the generated image
     */
    format: 'png' | 'jpg';
    /**
     * Width of the generated image in pixels (64-1024)
     */
    width?: number;
    /**
     * Height of the generated image in pixels (64-1024)
     */
    height?: number;
    /**
     * Path where the generated image will be saved
     * If not specified, will use CRAFT_IT_IMAGE_PATH from environment or Desktop/assets/images
     * Can be specified as absolute path or relative to current directory
     */
    storage_path?: string;
}
export interface ImageGenerationParameters {
    primary_color?: string;
    style_descriptor?: string;
}
/**
 * Result of image generation including both
 * base64 data and file path information
 */
export interface ImageGenerationResult {
    /**
     * Unique identifier for the asset
     */
    id: string;
    /**
     * Base64-encoded image data
     */
    base64: string;
    /**
     * MIME type of the image
     */
    mimeType: string;
    /**
     * Path to the saved file on disk
     * May be undefined if file storage failed
     */
    filePath?: string;
}
export declare class ImageGenerationService {
    static generateImage({ prompt, parameters, output_config, commandLineStoragePath, }: {
        prompt: string;
        parameters?: ImageGenerationParameters;
        output_config: OutputConfig;
        commandLineStoragePath?: string;
    }): Promise<ImageGenerationResult>;
}
