export interface NativeHubPipelineOrchestrationInput {
    requestId: string;
    endpoint: string;
    entryEndpoint: string;
    providerProtocol: string;
    payload: Record<string, unknown>;
    metadata: Record<string, unknown>;
    stream: boolean;
    processMode: 'chat' | 'passthrough';
    direction: 'request' | 'response';
    stage: 'inbound' | 'outbound';
}
export interface NativeHubPipelineOrchestrationOutput {
    requestId: string;
    success: boolean;
    payload?: Record<string, unknown>;
    metadata?: Record<string, unknown>;
    error?: {
        code: string;
        message: string;
        details?: unknown;
    };
}
export interface NativeStopMessageRouterMetadataOutput {
    stopMessageClientInjectSessionScope?: string;
    stopMessageClientInjectScope?: string;
    clientTmuxSessionId?: string;
    client_tmux_session_id?: string;
    tmuxSessionId?: string;
    tmux_session_id?: string;
}
export interface NativeHubPolicyOverrideOutput {
    mode: 'off' | 'observe' | 'enforce';
    sampleRate?: number;
}
export interface NativeHubShadowCompareConfigOutput {
    baselineMode: 'off' | 'observe' | 'enforce';
}
export type NativeApplyPatchToolMode = 'schema' | 'freeform';
export declare function runHubPipelineOrchestrationWithNative(input: NativeHubPipelineOrchestrationInput): NativeHubPipelineOrchestrationOutput;
export declare function normalizeHubEndpointWithNative(endpoint: string): string;
export declare function resolveHubProviderProtocolWithNative(value: unknown): string;
export declare function resolveHubClientProtocolWithNative(entryEndpoint: string): string;
export declare function resolveOutboundStreamIntentWithNative(providerPreference: unknown): boolean | undefined;
export declare function applyOutboundStreamPreferenceWithNative(request: Record<string, unknown>, stream: boolean | undefined, processMode?: 'chat' | 'passthrough'): Record<string, unknown>;
export declare function resolveHubSseProtocolFromMetadataWithNative(metadata: Record<string, unknown>): string | undefined;
export declare function resolveStopMessageRouterMetadataWithNative(metadata: Record<string, unknown> | undefined): NativeStopMessageRouterMetadataOutput;
export declare function extractAdapterContextMetadataFieldsWithNative(metadata: Record<string, unknown>, keys: string[]): Record<string, unknown>;
export declare function resolveHubPolicyOverrideFromMetadataWithNative(metadata: Record<string, unknown> | undefined): NativeHubPolicyOverrideOutput | undefined;
export declare function resolveHubShadowCompareConfigWithNative(metadata: Record<string, unknown> | undefined): NativeHubShadowCompareConfigOutput | undefined;
export declare function resolveApplyPatchToolModeFromToolsWithNative(toolsRaw: unknown): NativeApplyPatchToolMode | undefined;
export declare function resolveHasInstructionRequestedPassthroughWithNative(messages: unknown): boolean;
export declare function resolveActiveProcessModeWithNative(baseMode: 'chat' | 'passthrough', messages: unknown): 'chat' | 'passthrough';
export declare function findMappableSemanticsKeysWithNative(metadata: unknown): string[];
export declare function buildPassthroughAuditWithNative(rawInbound: Record<string, unknown>, providerProtocol: string): Record<string, unknown>;
export declare function annotatePassthroughGovernanceSkipWithNative(audit: Record<string, unknown>): Record<string, unknown>;
export declare function attachPassthroughProviderInputAuditWithNative(audit: Record<string, unknown>, providerPayload: Record<string, unknown>, providerProtocol: string): Record<string, unknown>;
