vite-plugin-kiru 0.29.11 → 0.30.1

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.
@@ -0,0 +1,20 @@
1
+ import type { Readable } from "node:stream"
2
+
3
+ export interface SSRHttpResponse {
4
+ html: string
5
+ statusCode: number
6
+ headers: Array<[string, string]>
7
+ stream: Readable
8
+ }
9
+
10
+ export interface SSRRenderResult {
11
+ httpResponse: SSRHttpResponse | null
12
+ }
13
+
14
+ export interface ServerRenderOptions {
15
+ url: string
16
+ }
17
+
18
+ export declare function renderPage(
19
+ options: ServerRenderOptions
20
+ ): Promise<SSRRenderResult>