import { ComponentType, LazyExoticComponent } from 'react'; /** * ### Summary * A function that modifies react lazy to allow for named exports * * ### Example * ```typescript * const ExampleUI = lazier(() => import('./exampleui/ExampleUI'), 'ExampleUI'); * ``` * * @category Helpers * * @param importFactory a callback that imports e.g. () => import('./exampleui/ExampleUI') * @param importName the named export you want to import. * @returns */ export declare const lazier: >(importFactory: () => Promise<{ [name: string]: T; }>, importName: string) => LazyExoticComponent; //# sourceMappingURL=lazier.d.ts.map