import { Static, Type } from "typebox"; import { Context } from "@deepseek-ai/cordis"; //#region src/schemas/narration.d.ts /** Voice-owned Cordis service for caller-authored narration requests. */ export declare const DOOM_NARRATION_SERVICE = "doom/narration"; /** Stable provider identity used when consumers pair narration with the mode catalog. */ export declare const DOOM_VOICE_SOURCE = "@agimon-ai/doompi-voice"; /** Stable mode identity for autonomous narration. */ export declare const DOOM_VOICE_AUTO_MODE_ID = "voice-auto"; export declare const MAX_NARRATION_TEXT_CHARACTERS = 4096; export declare const NarrationRequestSchema: Type.TObject<{ text: Type.TString; }>; export type NarrationRequest = Static; /** Generic outbound speech seam. The provider owns delivery and lifecycle. */ export interface DoomNarrationService { readonly generation: string; request(request: NarrationRequest): void | Promise; } declare module '@deepseek-ai/cordis' { interface Context { 'doom/narration': DoomNarrationService; } } /** Normalize caller-owned speech while preserving Unicode-safe truncation. */ export declare function normalizeNarrationText(text: string): string | undefined; /** Builds the validated request value consumers pass to the injected service. */ export declare function createNarrationRequest(text: string): NarrationRequest | undefined; export declare function isNarrationRequest(value: unknown): value is NarrationRequest; export declare function readDoomNarrationService(context: Context): DoomNarrationService | undefined; export declare function requireDoomNarrationService(context: Context): DoomNarrationService; //#endregion //# sourceMappingURL=narration.d.mts.map