import { PieCardProps } from './types'; /** * Wraps a rendered card so it can participate in PieUI realtime messaging. * * `PieCard` does not render any UI of its own — it simply returns its * children — but on mount it subscribes the supplied `methods` map to * whichever transports have been enabled: * * - **Socket.IO**: listens for `pie{methodName}_{data.name}` events. * - **Centrifuge**: subscribes to channels of the form * `pie{methodName}_{data.name}_{centrifugeChannel}`. * - **Mitt**: listens for `pie{methodName}_{data.name}` events on the * in-process emitter (used by `usePieEmit`). * * The `methods` map is accessed via a ref so callers may hand in freshly * recreated closures on every render without triggering re-subscriptions. * Cleanup runs automatically on unmount or when `data.name`/the support * flags change. */ declare const PieCard: ({ card, data, children, useSocketioSupport, useCentrifugeSupport, useMittSupport, centrifugeChannel, methods, }: PieCardProps) => import("react").ReactNode; export default PieCard; //# sourceMappingURL=index.d.ts.map