revenge-bundle-next/types/globals.consumers.ts

29 lines
724 B
TypeScript
Raw Permalink Normal View History

import type {
PluginApiExtensionsOptions,
PluginOptions,
UnscopedInitPluginApi,
UnscopedPluginApi,
UnscopedPreInitPluginApi,
} from '@revenge-mod/plugins/types'
declare global {
/**
* Defines an entrypoint for a Revenge JS plugin.
*/
export function plugin<O extends PluginApiExtensionsOptions>(
options: PluginOptions<O>,
): PluginOptions<O>
/**
* The unscoped plugin API. **Use directly only when necessary.**
*
* You should be using the `unscoped` property of the `PluginApi` object instead.
*/
export const revenge:
| UnscopedPreInitPluginApi
| UnscopedInitPluginApi
| UnscopedPluginApi
}
2025-08-09 01:22:42 +07:00
export * from './globals'