@@ -2,6 +2,7 @@ import type { FunctionComponent } from 'react'
2
2
import type { PluginApiModules } from './apis/modules'
3
3
import type { PluginApiPlugins } from './apis/plugins'
4
4
import type { PluginApiReact } from './apis/react'
5
+ import type { PluginApiUtils , PreInitPluginApiUtils } from './apis/utils'
5
6
import type { PluginFlags , PluginStatus } from './constants'
6
7
7
8
// biome-ignore lint/suspicious/noEmptyInterface: To be extended by actual extensions
@@ -19,7 +20,7 @@ export interface UnscopedPreInitPluginApi<
19
20
patcher : typeof import ( '@revenge-mod/patcher' )
20
21
plugins : PluginApiPlugins
21
22
storage : typeof import ( '@revenge-mod/storage' )
22
- // utils: PluginApiUtils
23
+ utils : PreInitPluginApiUtils
23
24
}
24
25
25
26
/**
@@ -31,6 +32,7 @@ export interface UnscopedInitPluginApi<
31
32
> extends UnscopedPreInitPluginApi < O > {
32
33
assets : typeof import ( '@revenge-mod/assets' )
33
34
react : PluginApiReact
35
+ utils : PluginApiUtils
34
36
}
35
37
36
38
/**
@@ -40,7 +42,7 @@ export interface UnscopedInitPluginApi<
40
42
export interface UnscopedPluginApi <
41
43
O extends PluginApiExtensionsOptions = PluginApiExtensionsOptions ,
42
44
> extends UnscopedInitPluginApi < O > {
43
- // ui : typeof import('@revenge-mod/ui ')
45
+ components : typeof import ( '@revenge-mod/components ' )
44
46
}
45
47
46
48
export type PluginCleanup = ( ) => any
0 commit comments