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: <TStored = unknown>({ card, data, children, useSocketioSupport, useCentrifugeSupport, useMittSupport, centrifugeChannel, methods, stored, }: PieCardProps<TStored>) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
export default PieCard;
//# sourceMappingURL=index.d.ts.map