import { Parameter } from "@autorest/codemodel";
import { SdkHttpOperation, SdkLroServiceMetadata } from "@azure-tools/typespec-client-generator-core";
import { Program, Type, Union } from "@typespec/compiler";
import { HttpOperation } from "@typespec/http";
import { Client as CodeModelClient, ServiceVersion } from "./common/client.js";
import { CodeModel } from "./common/code-model.js";
export declare const SPECIAL_HEADER_NAMES: Set<string>;
export declare const ORIGIN_API_VERSION = "modelerfour:synthesized/api-version";
export declare const CONTENT_TYPE_KEY = "content-type";
export declare function isKnownContentType(contentTypes: string[]): boolean;
export declare function operationIsJsonMergePatch(op: SdkHttpOperation): boolean;
export declare function operationIsMultipart(op: SdkHttpOperation): boolean;
export declare function operationIsMultipleContentTypes(op: SdkHttpOperation): boolean;
export declare function operationRefersUnion(program: Program, op: HttpOperation, cache: Map<Type, Union | null | undefined>): Union | null;
export declare function getServiceVersion(client: CodeModelClient | CodeModel): ServiceVersion;
export declare function isLroNewPollingStrategy(operation: SdkHttpOperation, lroMetadata: SdkLroServiceMetadata): boolean;
export declare function cloneOperationParameter(parameter: Parameter): Parameter;
//# sourceMappingURL=operation-utils.d.ts.map