kjelsrud.dev/node_modules/astro/dist/runtime/server/scripts.d.ts
2023-07-19 21:31:30 +02:00

5 lines
406 B
TypeScript

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;