import { DiscoveryService } from '@nestjs/core';
export declare type Registry<T extends any[], U> = T extends [head: infer V, ...tail: infer Tail_] ? Map<V, Registry<Tail_, U>> : U;
export declare const buildRegistry: <T extends any[], U>(discovery: DiscoveryService, metadataKeys: string[], filterKeys?: string[]) => Registry<T, U>;
