UNPKG

astro

Version:

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

25 lines (24 loc) 1.09 kB
import type { SSRResult } from '../../../types/public/internal.js'; import { type ThinHead } from './astro/head-and-content.js'; import type { RenderDestination } from './common.js'; import { type ComponentSlots } from './slot.js'; export declare function containsServerDirective(props: Record<string | number, any>): boolean; export declare class ServerIslandComponent { result: SSRResult; props: Record<string | number, any>; slots: ComponentSlots; displayName: string; hostId: string | undefined; islandContent: string | undefined; componentPath: string | undefined; componentExport: string | undefined; componentId: string | undefined; constructor(result: SSRResult, props: Record<string | number, any>, slots: ComponentSlots, displayName: string); init(): Promise<ThinHead>; render(destination: RenderDestination): Promise<void>; getComponentPath(): string; getComponentExport(): string; getHostId(): Promise<string>; getIslandContent(): Promise<string>; } export declare const renderServerIslandRuntime: () => string;