/*
 * T4Z - TypeScript 4 Zimlet
 * Copyright (C) 2017 ZeXtras S.r.l.
 *
 * This file is part of T4Z - TypeScript 4 Zimlet.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation, version 2 of
 * the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with T4Z - TypeScript 4 Zimlet. If not, see <http://www.gnu.org/licenses/>.
 */

import {AjxCallback} from "./AjxCallback";

export class AjxDispatcher {
  public static require(
    pkg: string[]|string|any,
    async?: boolean,
    callback?: AjxCallback,
    args?: any[],
    preLoadOk?: boolean,
  ): void {}

  public static run(pkg: string, ...args: any[]): any 


  public static registerMethod(method: string, pkg: string|string[]|any, ajxCallback: AjxCallback): void {}
}

{}