import type { Dispatch, Middleware, ActionHandler, HandlerOptions, EmitFn } from './types.js';
import type Service from './service/Service.js';
import type Schema from './schema/Schema.js';
export interface Resources {
    handlers: Record<string, ActionHandler>;
    schemas: Map<string, Schema>;
    services: Record<string, Service>;
    middleware?: Middleware[];
    options: HandlerOptions;
    actionIds: Set<string>;
    emit: EmitFn;
}
export default function createDispatch({ handlers, schemas, services, middleware, options, actionIds, emit, }: Resources): Dispatch;
