/**
 * Kling Video Handler (PiAPI)
 *
 * Image-to-video generation via PiAPI's Kling endpoint. Async job model:
 * POST /image-to-video → poll /task/{id} until completed.
 *
 * NOTE: PiAPI Kling requires a publicly accessible image URL, not inline
 * base64 data. Callers must supply `options.imageUrl` (a URL string) when
 * using KlingVideoHandler. The `image` Buffer parameter is still accepted
 * for interface compatibility (e.g., metadata / downstream use) but is not
 * sent to the API. A clear error is thrown if no URL is provided.
 *
 * @module adapters/video/klingVideoHandler
 * @see https://piapi.ai/docs/kling-api
 */
import type { VideoGenerationResult, VideoHandler, VideoOutputOptions } from "../../types/index.js";
/**
 * Kling Video Handler.
 *
 * Auth: `Authorization: Bearer ${KLING_API_KEY}` (PiAPI / Kling key).
 * Models: kling-1.6-i2v (default), kling-1.5-i2v, kling-1.0.
 */
export declare class KlingVideoHandler implements VideoHandler {
    readonly maxDurationSeconds = 10;
    readonly supportedAspectRatios: readonly ("9:16" | "16:9" | "1:1")[];
    readonly supportedResolutions: readonly ("720p" | "1080p")[];
    private readonly apiKey;
    private readonly baseUrl;
    constructor(apiKey?: string);
    isConfigured(): boolean;
    generate(image: Buffer, prompt: string, options: VideoOutputOptions): Promise<VideoGenerationResult>;
    private submitJob;
    private pollUntilComplete;
    private downloadVideo;
    private fetchWithTimeout;
    private calculateDimensions;
}
