import { ComponentCompilerMeta } from '@stencil/core/internal';
import { RenderToStringOptions } from './runtime/ssr.js';

export declare const createStencilReactComponents: ({ components, stencilPackageName, customElementsDir, componentsTypesDir, hydrateModule, clientModule, serializeShadowRoot, transformTag, exportMaps, typesFromComponentsFile, }: {
    components: ComponentCompilerMeta[];
    stencilPackageName: string;
    customElementsDir: string;
    componentsTypesDir: string;
    hydrateModule?: string;
    clientModule?: string;
    serializeShadowRoot?: RenderToStringOptions["serializeShadowRoot"];
    transformTag?: boolean;
    /**
     * The Stencil project generates a package.json `exports` map, so import through its
     * entries (`<pkg>/<tag>`, `<pkg>/components`) instead of deep `dist/` paths the map would block.
     */
    exportMaps?: boolean;
    /**
     * `componentsTypesDir` points at the `types` output's `components.d.ts` (Stencil v5), so
     * event types can come from there too instead of relying on the package root exporting them.
     */
    typesFromComponentsFile?: boolean;
}) => string;
