export declare type Request = { host: string; https: boolean; } & RelativeRequest; export declare type RelativeRequest = { version: string; parameters?: { repository: string; method: Method; tag: string; }; }; export declare enum Method { 'manifests' = 0, 'blobs' = 1 } export interface Plugin { name: string; description?: string; requestPipe: RequestPipe; } declare type RequestPipe = (req: Request) => Promise; export declare const loadPlugins: (pluginNames: string[], customPluginPaths: string[]) => Plugin; export {};