import { runRequestCompatPipeline, runResponseCompatPipeline } from './compat-pipeline-executor.js';
import { normalizeProviderProtocolTokenWithNative } from '../../../../router/virtual-router/engine-selection/native-hub-pipeline-req-inbound-semantics.js';
function assertCompatNativeBoundary() {
    normalizeProviderProtocolTokenWithNative('openai-responses');
}
export function applyRequestCompat(profileId, payload, options) {
    assertCompatNativeBoundary();
    return runRequestCompatPipeline(profileId, payload, options);
}
export function applyResponseCompat(profileId, payload, options) {
    assertCompatNativeBoundary();
    return runResponseCompatPipeline(profileId, payload, options);
}
