MOON
Server: Apache
System: Linux 54-179-220-51.cprapid.com 3.10.0-1160.144.1.el7.tuxcare.els4.x86_64 #1 SMP Tue Apr 7 08:40:40 UTC 2026 x86_64
User: thehunarfound (1001)
PHP: 7.4.29
Disabled: NONE
Upload Files
File: /home/thehunarfound/public_html/DMS/node_modules/alertify.js/alertify-js.d.ts
// Type definitions for Alertify.js v1.0.11
// Project: https://github.com/alertifyjs/alertify.js
// Definitions by: Vlad Jerca <https://github.com/vladjerca>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

interface IAlertify {
    reset(): IAlertify;
    alert(message: string, onOkay?: Function, onCancel?: Function): IAlertify;
    confirm(message: string, onOkay?: Function, onCancel?: Function): IAlertify;
    prompt(message: string, onOkay?: Function, onCancel?: Function): IAlertify;
    log(message: string, click?: Function): IAlertify;
    theme(themeName: string): IAlertify;
    success(message: string, click?: Function): IAlertify;
    error(message: string, click?: Function): IAlertify;
    cancelBtn(label: string): IAlertify;
    okBtn(label: string): IAlertify;
    delay(time: Number): IAlertify;
    placeholder(str: string): IAlertify;
    defaultValue(str: string): IAlertify;
    maxLogItems(max: Number): IAlertify;
    closeLogOnClick(bool: Boolean): IAlertify;
    logPosition(position: string): IAlertify;
    setLogTemplate(template: string): IAlertify;
    clearLogs(): IAlertify;
    parent(prt: HTMLElement): IAlertify;
}

declare var alertify: IAlertify;

declare module "alertify" {
    export default alertify;
}