import { Props } from './types.js';
/**
* Render a component to an HTML string (SSR).
* Runs setup and onInit hooks; serializes DOM to string.
* Does NOT run onMount or onDestroy — those are client-only.
*
* @example
* import { renderToString } from 'actjs/ssr';
* const html = await renderToString(MyPage, { userId: '42' });
* // Returns: '
...
'
* // Prepends useHead() output (title, meta, link tags) when present.
*/
export declare function renderToString(componentFn: (props?: Props) => Element | void, props?: Props): Promise;
/**
* Serialize an Element or DocumentFragment to an HTML string.
*/
export declare function serializeElement(node: Element | DocumentFragment): string;