UNPKG

@tryforge/forgescript

Version:

ForgeScript is a comprehensive package that empowers you to effortlessly interact with Discord's API. It ensures scripting remains easy to learn and consistently effective.

16 lines 816 B
import { ArgType, IArg, INativeFunction, NativeFunction } from "../structures/@internal/NativeFunction"; import { IRawFunction } from "../core"; export type RecursiveArray<T> = T | T[]; export declare class FunctionManager { private static readonly Functions; static loadNative(): void; static load(provider: string, path: string): void; static load(path: string): void; static addMany(...fns: RecursiveArray<NativeFunction>[]): void; static add(fn: NativeFunction<IArg[]>): void; static reload(): void; static get(name: string): NativeFunction<IArg<ArgType, boolean, boolean, import("../structures/@internal/NativeFunction").EnumLike<any>>[], boolean>; static toJSON(): INativeFunction<any>[]; static get raw(): IRawFunction[]; } //# sourceMappingURL=FunctionManager.d.ts.map