44 lines
1.6 KiB
TypeScript
44 lines
1.6 KiB
TypeScript
|
import { IPostAkiLoadMod } from "../models/external/IPostAkiLoadMod";
|
||
|
import { IPostAkiLoadModAsync } from "../models/external/IPostAkiLoadModAsync";
|
||
|
import { IPostDBLoadMod } from "../models/external/IPostDBLoadMod";
|
||
|
import { IPostDBLoadModAsync } from "../models/external/IPostDBLoadModAsync";
|
||
|
import { IPreAkiLoadMod } from "../models/external/IPreAkiLoadMod";
|
||
|
import { IPreAkiLoadModAsync } from "../models/external/IPreAkiLoadModAsync";
|
||
|
export declare class ModTypeCheck {
|
||
|
/**
|
||
|
* Use defined safe guard to check if the mod is a IPreAkiLoadMod
|
||
|
* @returns boolean
|
||
|
*/
|
||
|
isPreAkiLoad(mod: any): mod is IPreAkiLoadMod;
|
||
|
/**
|
||
|
* Use defined safe guard to check if the mod is a IPostAkiLoadMod
|
||
|
* @returns boolean
|
||
|
*/
|
||
|
isPostAkiLoad(mod: any): mod is IPostAkiLoadMod;
|
||
|
/**
|
||
|
* Use defined safe guard to check if the mod is a IPostDBLoadMod
|
||
|
* @returns boolean
|
||
|
*/
|
||
|
isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod;
|
||
|
/**
|
||
|
* Use defined safe guard to check if the mod is a IPreAkiLoadModAsync
|
||
|
* @returns boolean
|
||
|
*/
|
||
|
isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync;
|
||
|
/**
|
||
|
* Use defined safe guard to check if the mod is a IPostAkiLoadModAsync
|
||
|
* @returns boolean
|
||
|
*/
|
||
|
isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync;
|
||
|
/**
|
||
|
* Use defined safe guard to check if the mod is a IPostDBLoadModAsync
|
||
|
* @returns boolean
|
||
|
*/
|
||
|
isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync;
|
||
|
/**
|
||
|
* Checks for mod to be compatible with 3.X+
|
||
|
* @returns boolean
|
||
|
*/
|
||
|
isPostV3Compatible(mod: any): boolean;
|
||
|
}
|