UNPKG

astro

Version:

Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

6 lines (5 loc) 418 B
import type { SSRResult } from '../../types/public/internal.js'; export declare function determineIfNeedsHydrationScript(result: SSRResult): boolean; export declare function determinesIfNeedsDirectiveScript(result: SSRResult, directive: string): boolean; export type PrescriptType = null | 'both' | 'directive'; export declare function getPrescripts(result: SSRResult, type: PrescriptType, directive: string): string;