@pyreon/zero 0.19.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,51 +0,0 @@
1
- /**
2
- * Type declarations for image imports processed by @pyreon/zero's imagePlugin.
3
- *
4
- * Add to your tsconfig.json:
5
- * "types": ["@pyreon/zero/image-types"]
6
- *
7
- * Or reference directly:
8
- * /// <reference types="@pyreon/zero/image-types" />
9
- */
10
-
11
- declare module '*.jpg?optimize' {
12
- const image: import('./image-plugin').ProcessedImage
13
- export default image
14
- }
15
-
16
- declare module '*.jpeg?optimize' {
17
- const image: import('./image-plugin').ProcessedImage
18
- export default image
19
- }
20
-
21
- declare module '*.png?optimize' {
22
- const image: import('./image-plugin').ProcessedImage
23
- export default image
24
- }
25
-
26
- declare module '*.webp?optimize' {
27
- const image: import('./image-plugin').ProcessedImage
28
- export default image
29
- }
30
-
31
- declare module '*.avif?optimize' {
32
- const image: import('./image-plugin').ProcessedImage
33
- export default image
34
- }
35
-
36
- declare module '*.svg?component' {
37
- import type { ComponentFn } from '@pyreon/core'
38
- const component: ComponentFn<{
39
- width?: number
40
- height?: number
41
- class?: string
42
- style?: string
43
- [key: string]: unknown
44
- }>
45
- export default component
46
- }
47
-
48
- declare module '*.svg?raw' {
49
- const svg: string
50
- export default svg
51
- }