import type { Executor, OperationArgumentType, OperationResultType, OperationType } from "./types"; export declare type _ImplementedOperations = { [operationName: string]: _ExecutorPrivate; }; export declare type _ImplementedOperationTypes = { [operationName: string]: OperationType; }; export declare function _asExecutorPrivate(executor: Executor): _ExecutorPrivate; export interface _ExecutorPrivate extends Executor { >(operation: Op, context: Context, operationType: Type): Promise; _implementedOperations: _ImplementedOperations; _implementedOperationTypes: _ImplementedOperationTypes; } export declare function _implementExecutor, Context>(operationType: Type, executor: (operation: OperationArgumentType, context: Context, operationType: Type) => Promise>): _ExecutorPrivate; export declare function _implementCombinedExecutor(implementedOperations: _ImplementedOperations, implementedOperationTypes: _ImplementedOperationTypes): _ExecutorPrivate; export declare function _implementInterceptor(operationType: OperationType, impl: _ExecutorPrivate, interceptor: (operation: unknown, context: Context, operationType: OperationType, next: Executor) => Promise): _ExecutorPrivate;