import type { Etags } from '../utils-isomorphic/etags.js'; /** A slot renderer and its validator; immutable slots are reusable indefinitely. */ export type ElementSource = { immutable?: boolean; getEtag?: (() => Promise) | undefined; render: () => unknown | Promise; }; type BuiltElements = { elements: Record; etags: Etags; }; /** * Renders sources whose validators the client does not hold, returning their * elements and etags for `renderRsc`. Missing or invalid validators force a * render; a previously advertised validator is then cleared. Source errors * propagate without producing an elements record. */ export declare function buildElements(clientEtags: Etags, elementSources: Record): Promise; export {};