import { HookableCore } from 'hookable'; import { U as Unhead, S as SSRHeadPayload, g as ServerHeadHooks, a as CreateServerHeadOptions } from './unhead.BhWnW1tG.js'; import { R as ResolvableHead } from './unhead.ChUF4Rmb.js'; interface ServerUnhead extends Unhead { hooks: HookableCore; } /** * Marks static head input so server heads that receive it through `init` * normalize it once per process instead of once per request. * * The input is resolved once and the resulting tags are shared across heads, * so it must be plain data that is not mutated afterwards. Keep it at process * scope. Heads with entry hooks, a custom tag weight or non-static prop * resolvers normalize it per request as usual. * * @experimental The prepared-input API may change in a future minor release. * * @example * ```ts * const appHead = prepareHeadInput({ htmlAttrs: { lang: 'en' }, title: 'My App' }) * // per request * const head = createHead({ init: [appHead] }) * ``` */ declare function prepareHeadInput(input: T): T; declare function createHead(options?: CreateServerHeadOptions): ServerUnhead; export { createHead as c, prepareHeadInput as p }; export type { ServerUnhead as S };