export type BytedanceGenerateInput = Record<string, unknown>;
export type BytedanceGenerateResult = {
    url: string;
} | {
    image?: {
        url?: string;
    };
} | {
    images?: Array<{
        url?: string;
    }>;
} | {
    data?: Array<{
        url?: string;
        b64_json?: string;
    }>;
};
export interface BytedanceClient {
    generateImage: (input: BytedanceGenerateInput, options?: {
        abortSignal?: AbortSignal;
    }) => Promise<BytedanceGenerateResult>;
}
export declare function createBytedanceClient(proxyUrl: string, headers?: Record<string, string>): BytedanceClient;
