/** * Component — Declarative head management * * Collects , <meta>, <link> etc. during SSR via a side-channel. * The app-router reads collected elements after renderToString() and * injects them into the <head> section of the final HTML. * * Usage in page components: * ```tsx * import { Head } from 'tradjs/web'; * * export default function AboutPage() { * return ( * <> * <Head> * <title>About Us * * *
...
* * ); * } * ``` */ import { type Child } from "../client/types"; /** Reset head elements before each SSR pass. */ export declare function resetHead(): void; /** Get collected head elements after SSR. Returns raw HTML strings. */ export declare function getHeadElements(): string[]; /** * The Head component. During SSR, its children are collected into * the side-channel instead of being rendered into the body. * Returns null (renders nothing in the body). */ export declare function Head(props: { children?: Child | Child[]; }): null; //# sourceMappingURL=head.d.ts.map