import { EntryAdapterProps } from "./types.cjs"; //#region src/EntryAdapter/EntryAdapter.d.ts /** * The `EntryAdapter` component serves as a bridge to integrate `Entry` objects with React components. * It handles mounting, updating, and unmounting of entry elements and supports server-side rendering (SSR) if applicable. * * @param props - The props for the `EntryAdapter` component. * @param props.entry - A function that returns an `Entry` object. This is used to interact with the entry system. * @param props.ssrEntry - Optional async server-only entry loader, resolved through the SSR async task queue. * @param rest - Any additional props to be passed to the entry's `mergeOptions` method. * * @returns A `div` element with a `ref` attached for mounting the entry, or an SSR ID if server-side rendering is enabled. * * @throws When `entry` or the resolved `ssrEntry` is not a valid Pastweb entry. * * @example * ```tsx * import { createEntry, EntryAdapter } from '@pastweb/react'; * * const createClientEntry = () => createEntry({ EntryComponent: Widget }); * * * import('./widget.server-entry').then(module => module.createServerEntry()), * } * : {})} * widgetId="main" * /> * ``` */ declare const EntryAdapter: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; //#endregion export { EntryAdapter }; //# sourceMappingURL=EntryAdapter.d.cts.map