type Type = new () => T; export type ShareObject = { version: string; scope?: string; get: () => Promise<() => Type>; shareConfig?: { singleton?: boolean; requiredVersion: string; }; }; export type ShareConfig = { [pkgName: string]: Array; }; export type ShareOptions = { singleton: boolean; requiredVersionPrefix: '^' | '~' | '>' | '>=' | ''; }; export declare function getShared(options?: ShareOptions): ShareConfig; export {};