import type { StreamingSlotPatchPayload } from '../utils/streamingSlots'; export type StaticStreamingSlotResolver = () => Promise | StreamingSlotPatchPayload; export type StaticStreamingSlotDefinition = { resolve: StaticStreamingSlotResolver; timeoutMs?: number; errorHtml?: string; }; export type StaticStreamingSlotDefinitions = Record; export declare const defineStaticStreamingSlots: (slots: T) => T; type StaticStreamingTagDefinition = { errorHtml?: string; fallbackHtml: string; id: string; resolver: string; timeoutMs?: number; }; export declare const extractStaticStreamingTags: (html: string) => StaticStreamingTagDefinition[]; export declare const loadStaticStreamingSlots: (pagePath: string, html: string) => Promise<{ errorHtml: string | undefined; fallbackHtml: string; id: string; resolve: StaticStreamingSlotResolver; timeoutMs: number | undefined; }[]>; export {};