export type NativeGovernanceContextPayload = {
    entryEndpoint: string;
    metadata: Record<string, unknown>;
    providerProtocol: string;
    metadataToolHints: unknown;
    inboundStreamIntent: boolean;
    rawRequestBody?: Record<string, unknown>;
};
export type NativeRespProcessToolGovernanceInput = {
    payload: Record<string, unknown>;
    clientProtocol: string;
    entryEndpoint: string;
    requestId: string;
};
export type NativeRespProcessToolGovernanceOutput = {
    governedPayload: Record<string, unknown>;
    summary: {
        applied: boolean;
        toolCallsNormalized: number;
        applyPatchRepaired: number;
    };
};
export type NativeRespProcessFinalizeInput = {
    payload: Record<string, unknown>;
    stream: boolean;
    reasoningMode?: string;
    endpoint?: string;
    requestId?: string;
};
export declare function buildAnthropicToolAliasMapWithNative(sourceTools: unknown): Record<string, unknown> | undefined;
export declare function resolveGovernanceContextWithNative(request: unknown, context: unknown): NativeGovernanceContextPayload;
export declare function castGovernedToolsWithNative(tools: unknown): unknown;
export declare function buildWebSearchToolAppendOperationsWithNative(engines: unknown): unknown[];
export declare function applyGovernedControlOperationsWithNative(request: Record<string, unknown>, governed: Record<string, unknown>, inboundStreamIntent: boolean): Record<string, unknown>;
export declare function applyGovernedMergeRequestWithNative(request: Record<string, unknown>, governed: Record<string, unknown>, inboundStreamIntent: boolean, governanceTimestampMs: number): Record<string, unknown>;
export declare function mergeGovernanceSummaryIntoMetadataWithNative(metadata: Record<string, unknown> | undefined, summary: Record<string, unknown>): Record<string, unknown>;
export declare function finalizeGovernedRequestWithNative(request: Record<string, unknown>, summary: Record<string, unknown>): Record<string, unknown>;
export declare function applyRespProcessToolGovernanceWithNative(input: NativeRespProcessToolGovernanceInput): NativeRespProcessToolGovernanceOutput;
export declare function stripOrphanFunctionCallsTagWithNative(payload: Record<string, unknown>): Record<string, unknown>;
export declare function finalizeRespProcessChatResponseWithNative(input: NativeRespProcessFinalizeInput): Promise<Record<string, unknown>>;
