import { type RequestHandler } from 'express';
import type { Environment } from 'nunjucks';
import { Services } from '../types/Services';
import { DprConfig } from '../types/DprConfig';
/**
 * Middleware helper to populate all locals configuration
 * to enable DPR lib to operate correctly within a service.
 *
 * @param {Services} services
 * @param {string} layoutPath
 * @param {Environment} env
 * @param {DprConfig} [config]
 * @return {*}  {RequestHandler}
 */
export declare const setupResources: (services: Services, layoutPath: string, env: Environment, config?: DprConfig) => RequestHandler;
export default setupResources;
