import "./modules/types"; import "./packages/types"; export type Module = Function | null | { [key: string]: Function | object; }; export type Loader = (pkg: string) => Promise | Module; type Packages = Record; export interface Import { loaders: Loader[]; default: Loader; cdn: (templatePath: string, packages: Packages | string[] | string) => Loader; registerCdn: (templatePath: string, packages: Packages | string[] | string) => void; script: (url: string) => Promise; cssText: (cssText: string, name: string) => Promise; style: (url: string) => Promise; } declare const ymaps3Import: Import; export { ymaps3Import };