import type { DataChannel } from '../types/node.type.js';
/**
 * Creates a ref-based pub/sub data channel for pushing updates to subscribers
 * without triggering React re-renders in the producer.
 *
 * Used internally by the portal system to sync data from the parent component
 * to portal layers efficiently.
 * @template T The data type managed by the channel.
 * @param initial Optional initial data value.
 * @returns A DataChannel with get, set, and subscribe methods.
 */
export declare function createDataChannel<T = any>(initial?: T): DataChannel<T>;
//# sourceMappingURL=data-channel.helper.d.ts.map