import { createOmniDependencyProfile } from '../../_shared/omniOperationDependencies.js';
import { createOmniOperationDescriptor, createOmniOperationPlanner, executeOmniOperationCore, } from '../../_shared/omniOperationCore.js';
export const omniVideoSubtitleGenerationConfig = {
    toolId: "omni.videoSubtitleGeneration",
    capability: "generate-video-subtitles",
    route: "agent_executionEngine.basic_toolLayer.baseTools.omniBase.videoTransformer",
    mediaKind: "video",
    action: "generate-video-subtitles",
    outputResource: "text",
    permissionsRequired: ["omni:video:read", "provider:invoke"],
    requiresInput: true,
    requiresOutput: false,
    requiresPrompt: false,
    unsafeSideEffects: false,
    runtimeOperation: "omni.videoSubtitleGeneration.generatevideosubtitles",
    dependencyProfile: createOmniDependencyProfile("speech-analysis"),
};
export const omniVideoSubtitleGenerationDescriptor = createOmniOperationDescriptor(omniVideoSubtitleGenerationConfig);
export function executeOmniVideoSubtitleGenerationCore(request = {}) {
    return executeOmniOperationCore(omniVideoSubtitleGenerationConfig, request);
}
export const planVideoSubtitleGeneration = createOmniOperationPlanner(omniVideoSubtitleGenerationConfig);
