export { D as DeprecationsPlugin } from './shared/unhead.Ca86_JZY.js';
import { createUnhead } from './index.js';
import { Unhead, CreateClientHeadOptions } from './client.js';
import { CreateServerHeadOptions } from './server.js';
import { HeadPluginInput } from './types.js';
import { ResolvableHead } from './types.js';
import 'hookable';

/**
 * The v2 migration plugins applied by the legacy `createHead`/`createServerHead`, including
 * Promise input resolution. Modern entrypoints require `PromisesPlugin` to be registered explicitly.
 *
 * @deprecated Will be removed in v4. Migrate call sites to the v3 API and construct
 * `createHead`/`createServerHead` from `unhead/client`/`unhead/server` without this plugin set.
 */
declare const legacyPlugins: HeadPluginInput[];
/**
 * @deprecated Will be removed in v4. This global singleton exists only to support the legacy
 * `getActiveHead()` API; use the `Unhead` instance returned by `createHead`/`createServerHead` directly instead.
 */
declare const activeHead: {
    value: Unhead<any> | null;
};
/**
 * @deprecated Will be removed in v4. Store and use the `Unhead` instance returned by
 * `createHead`/`createServerHead` directly instead of reading it from a global singleton.
 */
declare function getActiveHead<T extends Record<string, any> = ResolvableHead>(): Unhead<T> | null;
/**
 * @deprecated Will be removed in v4. Use `createHead` from `unhead/client` instead; register
 * `legacyPlugins` yourself if you still need v1/v2 tag prop compatibility.
 */
declare function createHead<T extends Record<string, any> = ResolvableHead>(options?: CreateClientHeadOptions): Unhead<T>;
/**
 * @deprecated Will be removed in v4. Use `createServerHead` from `unhead/server` instead; register
 * `legacyPlugins` yourself if you still need v1/v2 tag prop compatibility.
 */
declare function createServerHead<T extends Record<string, any> = ResolvableHead>(options?: Omit<CreateServerHeadOptions, 'propResolvers'>): Unhead<T>;
/**
 * @deprecated Will be removed in v4. Use `createUnhead` from `unhead` directly.
 */
declare const createHeadCore: typeof createUnhead;

export { activeHead, createHead, createHeadCore, createServerHead, getActiveHead, legacyPlugins };
