interface UseListReturn { list: T[]; set(list: T[]): void; push(...items: T[]): void; update(index: number, item: T): void; removeAt(index: number): void; remove(predicate: (item: T, index: number) => boolean): void; clear(): void; insert(index: number, ...items: T[]): void; move(from: number, to: number): void; } /** * A hook for managing array state with utility functions. * All operations are immutable and invalid indices are handled gracefully (no-op). * @param initial Initial array state * @returns Object containing array and management functions */ export declare function useList(initial?: T[]): UseListReturn; export {};