import { Accessor, JSX } from 'solid-js'; type ExpanderProps = { expanded: boolean; style?: JSX.CSSProperties; }; export declare const Expander: ({ expanded, style: _style }: ExpanderProps) => JSX.Element; type Entry = { label: string; }; type RendererProps = { handleEntry: HandleEntryFn; label?: JSX.Element; value: Accessor; subEntries: Array; subEntryPages: Array>; type: string; expanded: Accessor; toggleExpanded: () => void; pageSize: number; filterSubEntries?: (subEntries: Array) => Array; }; /** * Chunk elements in the array by size * * when the array cannot be chunked evenly by size, the last chunk will be * filled with the remaining elements * * @example * chunkArray(['a','b', 'c', 'd', 'e'], 2) // returns [['a','b'], ['c', 'd'], ['e']] */ export declare function chunkArray(array: Array, size: number): Array>; type HandleEntryFn = (entry: Entry) => JSX.Element; type ExplorerProps = Partial & { defaultExpanded?: true | Record; value: Accessor; }; type Property = { defaultExpanded?: boolean | Record; label: string; value: unknown; }; export declare function Explorer({ value, defaultExpanded, pageSize, filterSubEntries, ...rest }: ExplorerProps): JSX.Element; export {};