-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
virtual.d.ts
71 lines (55 loc) · 1.82 KB
/
virtual.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
declare module '#og-image/components' {
import type { Component } from 'vue'
const components: Record<string, Component>
export default components
}
declare module '#og-image/renderers/satori' {
import type Renderer from './src/runtime/types'
const renderer: Renderer | { __unenv__: true } | undefined
export default renderer
}
declare module '#og-image/renderers/chromium' {
import type Renderer from './src/runtime/types'
const renderer: Renderer | { __unenv__: true } | undefined
export default renderer
}
declare module '#og-image/bindings/satori' {
const satori: typeof import('satori').satori
export default satori
}
declare module '#og-image/bindings/resvg' {
interface WasmResvg {
initWasmPromise: Promise<void>
Resvg: import('resvg').Resvg
}
const instance: WasmResvg
export default instance
}
declare module '#og-image/bindings/chromium' {
export const createBrowser: () => Promise<Browser | void>
}
declare module '#og-image/bindings/css-inline' {
import type _CssInline from 'css-inline'
const cssInline: _CssInline
export default cssInline
}
declare module '#og-image/bindings/sharp' {
import type _sharp from 'sharp'
const sharp: _sharp
export default sharp
}
declare module '#og-image-virtual/component-names.mjs' {
const componentNames: string[]
export default componentNames
}
declare module '#og-image-virtual/unocss-config.mjs' {
export const theme: Record<string, any>
}
declare module '#og-image-cache' {
import type { OgImageOptions } from '#og-image/types'
import type { Storage } from 'unstorage'
export const htmlPayloadCache: Storage<{ expiresAt: number, value: OgImageOptions }>
export const prerenderOptionsCache: Storage<OgImageOptions> | undefined
export const fontCache: Storage<BufferSource> | undefined
export const emojiCache: Storage<string>
}