export declare function sanitizeFormatEnvelopeWithNative<T>(candidate: T): T;
export declare function sanitizeChatCompletionLikeWithNative<T>(candidate: T): T;
export declare function stripPrivateFieldsWithNative<T extends Record<string, unknown>>(payload: T): T;
export declare function resolveCompatProfileWithNative(adapterContext: unknown, explicitProfile: string | undefined): string | undefined;
export declare function resolveSseStreamModeWithNative(wantsStream: boolean, clientProtocol: string): boolean;
export declare function parseReqInboundFormatEnvelopeWithNative(input: {
    rawRequest: Record<string, unknown>;
    protocol: string;
}): Record<string, unknown>;
export declare function parseRespInboundFormatEnvelopeWithNative(input: {
    payload: Record<string, unknown>;
    protocol: string;
}): Record<string, unknown>;
export declare function validateChatEnvelopeWithNative(chatEnvelope: unknown, options: {
    stage: "req_inbound" | "req_outbound" | "resp_inbound" | "resp_outbound";
    direction: "request" | "response";
    source?: string;
}): void;
