export declare const CreateInstance: (type: { new (): T; name: string; }, isCollection?: boolean) => {};