import Base from './base'; import Core from './core'; import List from './list'; import Utils from './utils'; import Model from './model'; import Event from './event'; import Container from './container'; import Dictionary from './dictionary'; import ListenerGroup from './listener-group'; import Status, { StatusOptions } from './status'; import { MakeModelOptions, EventCallback, RuleArray } from './types'; import { Containers, ContainerOptions, PackageOptions, ModelOptions } from './index'; import { loaderSimplify, generateSimplifyLoader } from './loader'; type Params = { name?: string; containers?: { [key in keyof C]: ContainerOptions | [ContainerOptions, any]; }; packages?: Array; }; type Channels = { makedModel: [Model]; makedList: [List]; makedDictionary: [Dictionary]; registeredStatus: [Status]; }; declare class Main extends Base { readonly _name: string; readonly _core: Core; readonly _event: Event; readonly _statuses: Status[]; readonly _globalContainer: Container; constructor(params?: Params); static loaderSimplify: typeof loaderSimplify; static generateSimplifyLoader: typeof generateSimplifyLoader; static get Vue2Plugin(): { install(Vue: any, { alas }: { alas: Main; }): void; }; static get Vue3Plugin(): { install(app: any, { alas, reactive }: { alas: Main; reactive: any; }): void; }; static get utils(): typeof Utils; static get Model(): typeof Model; static get List(): typeof List; static get Dictionary(): typeof Dictionary; static get MsPackage(): import("./interfaces").IPackage; static get ListenerGroup(): typeof ListenerGroup; get utils(): typeof Utils; get name(): string; get locale(): string; on(channelName: T, callback: EventCallback): string; once(channelName: T, callback: EventCallback): string; off(channelName: T, id: string): void; meg(name: string, value?: any): string; make(containerName: K, modelName: N, options?: MakeModelOptions): T[K]['models'][N]['model']; makeList(containerName: K, modelName: N, options?: MakeModelOptions): T[K]['models'][N]['list']; makeDictionary(containerName: K, modelName: N, options?: MakeModelOptions): T[K]['models'][N]['dictionary']; addModel(name: string, data: ModelOptions): void; addPackage(data: PackageOptions): void; addContainer(name: string, data: ContainerOptions, options?: any): any; rules(data: RuleArray): Array<(...params: any) => boolean | string>; setLocale(locale: string): void; instanceof(container: K, model: N, source: any): boolean; registerStatus>(name: string, options: T): Status; } export default Main;