type OperationFunction = (json: object) => unknown | Promise<unknown>;
type OperationFunctionMap = Map<string, {
    operation_function: OperationFunction;
}>;
type ChooseOperation = (body: object) => OperationFunction;
type ProcessLocalTransaction = (req: {
    body: object;
}, fn: OperationFunction) => Promise<unknown>;
export declare function _setOperationFunctionMapForTest(m: OperationFunctionMap | undefined): void;
export declare function _setChooseOperationForTest(fn: ChooseOperation | undefined): void;
export declare function _setProcessLocalTransactionForTest(fn: ProcessLocalTransaction | undefined): void;
/**
 * Default v1 allow list — read-only operations only. Operators who want
 * destructive ops on the MCP surface opt in via `mcp.operations.allow`.
 */
export declare const DEFAULT_ALLOW: readonly string[];
/**
 * Idempotent registration: walk the op map, register every operation that
 * passes the allow/deny filter. Safe to invoke multiple times — `addTool`
 * is `Map.set`-backed.
 */
export declare function registerOperationsTools(): void;
export {};
