import { Accessor } from 'solid-js'; import { MaybeAccessor } from '../utils/types.js'; import 'solid-js/types/reactive/signal'; /** * Reactive `Array.join` * * @see https://solidjs-use.github.io/solidjs-use/shared/useArrayJoin * @param {Array} list - the array was called upon. * @param {string} separator - a string to separate each pair of adjacent elements of the array. If omitted, the array elements are separated with a comma (","). * * @returns {string} a string with all array elements joined. If arr.length is 0, the empty string is returned. */ declare function useArrayJoin(list: MaybeAccessor>>, separator?: MaybeAccessor): Accessor; export { useArrayJoin };