import { AfterPatchFn, BeforePatchFn, InsteadFn, PatchPriority, Unpatch } from "../utils/patcher"; export declare class Patcher { readonly plugin: string; private readonly _unpatches; constructor(plugin: string); before(object: T, name: string, fn: BeforePatchFn, priority?: PatchPriority): Unpatch; instead(object: T, name: string, fn: InsteadFn, priority?: PatchPriority): Unpatch; insteadDoNothing(object: any, name: string): Unpatch; after(object: T, name: string, fn: AfterPatchFn, priority?: PatchPriority): Unpatch; unpatchAll(): void; }