import type { JavaIterator } from './JavaIterator'; import type { ListIterator } from './ListIterator'; import type { Collection } from './Collection'; import type { Comparator } from './Comparator'; export interface List extends Collection { size(): number; isEmpty(): boolean; contains(o: any): boolean; [Symbol.iterator](): Iterator; iterator(): JavaIterator; toArray(): Array; toArray(a: Array): Array; add(e: E | null): boolean; add(index: number, element: E | null): void; remove(index: number): E; remove(o: any): boolean; containsAll(c: Collection | null): boolean; addAll(c: Collection | null): boolean; addAll(index: number, c: Collection): boolean; removeAll(c: Collection | null): boolean; retainAll(c: Collection | null): boolean; sort(c: Comparator): void; clear(): void; equals(obj: any): boolean; hashCode(): number; get(index: number): E; set(index: number, element: E): E; removeElementAt(index: number): void; indexOf(o: any): number; lastIndexOf(o: any): number; listIterator(): ListIterator; listIterator(index: number): ListIterator; addFirst(e: E | null): void; addLast(e: E | null): void; getFirst(): E; getLast(): E; removeFirst(): E; removeLast(): E; } export declare function java_util_List_addFirst(this: List, e: E | null): void; export declare function java_util_List_addLast(this: List, e: E | null): void; export declare function java_util_List_getFirst(this: List): E; export declare function java_util_List_getLast(this: List): E; export declare function java_util_List_removeFirst(this: List): E; export declare function java_util_List_removeLast(this: List): E; export declare function cast_java_util_List(obj: unknown): List; //# sourceMappingURL=List.d.ts.map