import type { PipelineExecutionInput, PipelineExecutionResult } from '../../../handlers/types.js'; type ServerToolNestedExecute = (input: PipelineExecutionInput) => Promise; type BuildNestedMetadataLogger = (error: unknown, details: { requestId: string; entryEndpoint: string; mode: 'reenter' | 'client_inject'; }) => void; export declare function executeServerToolReenterPipeline(args: { entryEndpoint: string; fallbackEntryEndpoint: string; requestId: string; body?: Record; metadata?: Record; baseMetadata?: Record; executeNested: ServerToolNestedExecute; onMergeRuntimeMetaError?: BuildNestedMetadataLogger; runClientInjectBeforeNested?: boolean; }): Promise<{ body?: Record; __sse_responses?: unknown; format?: string; }>; export declare function executeServerToolClientInjectDispatch(args: { entryEndpoint: string; fallbackEntryEndpoint: string; requestId: string; body?: Record; metadata?: Record; baseMetadata?: Record; onMergeRuntimeMetaError?: BuildNestedMetadataLogger; }): Promise<{ ok: boolean; reason?: string; }>; export {};