import type { JavaIterator } from './JavaIterator'; import type { Collection } from './Collection'; import type { SequencedCollection } from './SequencedCollection'; import type { Queue } from './Queue'; export interface Deque extends Queue, SequencedCollection { size(): number; isEmpty(): boolean; contains(o: any): boolean; [Symbol.iterator](): Iterator; iterator(): JavaIterator; toArray(): Array; toArray(a: Array): Array; add(e: E | null): boolean; remove(o: any): boolean; remove(): E; containsAll(c: Collection | null): boolean; addAll(c: Collection | null): boolean; removeAll(c: Collection | null): boolean; retainAll(c: Collection | null): boolean; clear(): void; equals(obj: any): boolean; hashCode(): number; element(): E; offer(e: E | null): boolean; peek(): E | null; poll(): E | null; addFirst(e: E | null): void; addLast(e: E | null): void; offerFirst(e: E | null): boolean; offerLast(e: E | null): boolean; removeFirst(): E; removeLast(): E; pollFirst(): E | null; pollLast(): E | null; getFirst(): E; getLast(): E; peekFirst(): E | null; peekLast(): E | null; removeFirstOccurrence(obj: any): boolean; removeLastOccurrence(obj: any): boolean; push(e: E): void; pop(): E; descendingIterator(): JavaIterator; } export declare function cast_java_util_Deque(obj: unknown): Deque; //# sourceMappingURL=Deque.d.ts.map