import { ReactNode } from 'react';
interface Connection {
    nodes: unknown[];
}
export type SelectorFunction<T> = (value: T, index: number, array: T[]) => unknown;
/**
 * Creates a renderer that will loop through each `node` on the value,
 * and adds the string representations into a comma separated string.
 *
 * @param selector A function that maps each `node` to a string representation.
 */
export declare function createConnectionRenderer<T extends Connection>(selector: SelectorFunction<T['nodes'][number]>, renderAsTags?: boolean): (val: unknown) => string | ReactNode;
export {};
//# sourceMappingURL=CreateConnectionRenderer.d.ts.map