Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
12 lines
582 B
Plaintext
12 lines
582 B
Plaintext
import 'reflect-metadata';
|
|
import { NapCatCore } from '../..';
|
|
import { TypedEventEmitter } from './typeEvent';
|
|
export declare const container: any;
|
|
export declare const ReceiverServiceRegistry: Map<string, new (...args: any[]) => ServiceBase>;
|
|
export declare abstract class ServiceBase {
|
|
get core(): NapCatCore;
|
|
get event(): TypedEventEmitter<Record<string, any>>;
|
|
abstract handler(seq: number, hex_data: string): Promise<void> | void;
|
|
}
|
|
export declare function ReceiveService(serviceName: string): <T extends new (...args: any[]) => ServiceBase>(constructor: T) => T;
|