import { type ArtifactChunk, type ScenarioJob } from './generated/runtime/v1/ai.js';
import type { RuntimeInternalContext } from './internal-context.js';
import type { ImageGenerateInput, ImageGenerateOutput, MusicIterateInput, MusicGenerateInput, MusicGenerateOutput, NimiTraceInfo, SpeechListVoicesInput, SpeechListVoicesOutput, SpeechSynthesizeInput, SpeechSynthesizeOutput, SpeechTranscribeInput, SpeechTranscribeOutput, VideoGenerateInput, VideoGenerateOutput } from './types.js';
export declare function runtimeGenerateImage(ctx: RuntimeInternalContext, input: ImageGenerateInput): Promise<ImageGenerateOutput>;
export declare function runtimeGenerateVideo(ctx: RuntimeInternalContext, input: VideoGenerateInput): Promise<VideoGenerateOutput>;
export declare function runtimeSynthesizeSpeech(ctx: RuntimeInternalContext, input: SpeechSynthesizeInput): Promise<SpeechSynthesizeOutput>;
export declare function runtimeGenerateMusic(ctx: RuntimeInternalContext, input: MusicGenerateInput): Promise<MusicGenerateOutput>;
export declare function runtimeGenerateMusicIteration(ctx: RuntimeInternalContext, input: MusicIterateInput): Promise<MusicGenerateOutput>;
export declare function runtimeTranscribeSpeech(ctx: RuntimeInternalContext, input: SpeechTranscribeInput): Promise<SpeechTranscribeOutput>;
export declare function runtimeStreamImage(ctx: RuntimeInternalContext, input: ImageGenerateInput): Promise<AsyncIterable<ArtifactChunk>>;
export declare function runtimeStreamVideo(ctx: RuntimeInternalContext, input: VideoGenerateInput): Promise<AsyncIterable<ArtifactChunk>>;
export declare function runtimeStreamSpeech(ctx: RuntimeInternalContext, input: SpeechSynthesizeInput): Promise<AsyncIterable<ArtifactChunk>>;
export declare function runtimeListSpeechVoices(ctx: RuntimeInternalContext, input: SpeechListVoicesInput): Promise<SpeechListVoicesOutput>;
export declare function runtimeStreamSpeechSynthesis(ctx: RuntimeInternalContext, input: SpeechSynthesizeInput): Promise<AsyncIterable<ArtifactChunk>>;
export declare function streamArtifactsFromMediaOutput(output: {
    job: ScenarioJob;
    artifacts: Array<{
        artifactId: string;
        mimeType: string;
        bytes: Uint8Array;
    }>;
    trace: NimiTraceInfo;
}): AsyncIterable<ArtifactChunk>;
//# sourceMappingURL=runtime-modality.d.ts.map