/**
 * Replicate Avatar Handler (MuseTalk default)
 *
 * Routes avatar / lip-sync generation through Replicate's universal
 * prediction lifecycle. Default model is MuseTalk; other lip-sync models
 * (SadTalker, Wav2Lip, etc.) can be selected via `options.model`.
 *
 * @module avatar/providers/ReplicateAvatar
 * @see https://replicate.com/douwantech/musetalk
 */
import type { AvatarHandler, AvatarOptions, AvatarResult, AvatarVideoFormat } from "../../types/index.js";
/**
 * Replicate Avatar Handler.
 *
 * MuseTalk requires both `image` and `audio` inputs — `text`-only is not
 * supported here (use D-ID for that, or chain TTS + this handler).
 */
export declare class ReplicateAvatar implements AvatarHandler {
    readonly maxAudioDurationSeconds = 60;
    readonly supportedFormats: readonly AvatarVideoFormat[];
    isConfigured(): boolean;
    generate(options: AvatarOptions): Promise<AvatarResult>;
    private resolveBuffer;
    /**
     * Detect audio MIME subtype from magic bytes.
     *
     * - WAV : "RIFF" header (52 49 46 46)
     * - MP3 : ID3 tag (49 44 33) or sync word 0xFF 0xFB/0xF3/0xF2
     * - OGG : "OggS" capture pattern (4F 67 67 53)
     * - M4A : "ftyp" box at offset 4 (common isom/M4A variant)
     *
     * Falls back to "mp3" when detection is inconclusive.
     */
    private detectAudioType;
    private detectImageType;
}
