import type { TypedArray, VectorLike } from '@use-gpu/core'; export type ArrowSegmentsData = { count: number; sparse: number; segments: TypedArray; anchors: TypedArray; trims: TypedArray; slices: TypedArray; unwelds: TypedArray; }; /** Make index data for arrow segments/anchor/trim data */ export declare const getArrowSegments: ({ chunks, groups, loops, starts, ends, }: { chunks: VectorLike; groups?: VectorLike | null; loops?: boolean[] | boolean | null; starts?: boolean[] | boolean | null; ends?: boolean[] | boolean | null; }) => { count: any; sparse: number | undefined; segments: Int8Array; anchors: Uint32Array | undefined; trims: Uint32Array | undefined; slices: Uint32Array; unwelds: Uint32Array | undefined; schema: { [x: string]: import("@use-gpu/core").ArchetypeField; }; }; export declare const useArrowSegmentsSource: (chunks: VectorLike, groups?: VectorLike | null, loops?: boolean[] | boolean | null, starts?: boolean[] | boolean | null, ends?: boolean[] | boolean | null) => { count: any; sparse: number | undefined; slices: Uint32Array; segments: import("@use-gpu/core").StorageSource; anchors: import("@use-gpu/core").StorageSource | undefined; trims: import("@use-gpu/core").StorageSource | undefined; };