/**
 * MCP middleware helpers — pagination defaults and limits.
 */
import { MCP_DEFAULTS, MCP_MAX_LIMIT } from '../shared/paginate.js';
export { MCP_DEFAULTS, MCP_MAX_LIMIT };
/**
 * Initialize MCP defaults from config. Call once at server startup.
 */
export declare function initMcpDefaults(configMcpDefaults?: Record<string, number>): void;
/**
 * Reset MCP defaults back to the base defaults. Useful for test isolation.
 */
export declare function resetMcpDefaults(): void;
/**
 * Resolve effective limit for a tool call.
 */
export declare function effectiveLimit(args: {
    limit?: number;
}, toolName: string): number;
/**
 * Resolve effective offset for a tool call.
 */
export declare function effectiveOffset(args: {
    offset?: number;
}): number;
//# sourceMappingURL=middleware.d.ts.map