kjelsrud.dev/node_modules/astro/dist/runtime/server/scripts.d.ts

6 lines
406 B
TypeScript
Raw Normal View History

2023-07-19 21:31:30 +02:00
import type { SSRResult } from '../../@types/astro';
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;