UNPKG

astro

Version:

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

10 lines (9 loc) 396 B
import { type ComponentSlots } from '../../runtime/server/index.js'; import type { SSRResult } from '../../types/public/internal.js'; import type { Logger } from '../logger/core.js'; export declare class Slots { #private; constructor(result: SSRResult, slots: ComponentSlots | null, logger: Logger); has(name: string): boolean; render(name: string, args?: any[]): Promise<any>; }