import { createOmniDependencyProfile } from '../../_shared/omniOperationDependencies.js';
import { createOmniOperationDescriptor, createOmniOperationPlanner, executeOmniOperationCore, } from '../../_shared/omniOperationCore.js';
export const omniAudioFormatConversionConfig = {
    toolId: "omni.audioFormatConversion",
    capability: "convert-audio-format",
    route: "agent_executionEngine.basic_toolLayer.baseTools.omniBase.audioTransformer",
    mediaKind: "audio",
    action: "convert-audio-format",
    outputResource: "audio",
    permissionsRequired: ["omni:audio:read", "omni:audio:write"],
    requiresInput: true,
    requiresOutput: true,
    requiresPrompt: false,
    unsafeSideEffects: true,
    runtimeOperation: "omni.audioFormatConversion.convertaudioformat",
    dependencyProfile: createOmniDependencyProfile("media-transform"),
};
export const omniAudioFormatConversionDescriptor = createOmniOperationDescriptor(omniAudioFormatConversionConfig);
export function executeOmniAudioFormatConversionCore(request = {}) {
    return executeOmniOperationCore(omniAudioFormatConversionConfig, request);
}
export const planAudioFormatConversion = createOmniOperationPlanner(omniAudioFormatConversionConfig);
