import type { SSRResult } from '../../../@types/astro'; import type { RenderInstruction } from './types.js'; import { HTMLBytes } from '../escape.js'; import { type AstroComponentInstance } from './astro/index.js'; export type ComponentIterable = AsyncIterable; export declare function renderComponent(result: SSRResult, displayName: string, Component: unknown, props: Record, slots?: any): Promise | ComponentIterable | AstroComponentInstance; export declare function renderComponentToIterable(result: SSRResult, displayName: string, Component: unknown, props: Record, slots?: any): Promise | ComponentIterable;