import LinkedList from '../LinkedList/LinkedList'; import StackInterface from './StackInterface'; export default class Stack extends StackInterface { protected readonly _linkedList: LinkedList; constructor(items?: T[]); push(...items: T[]): void; pop(): T | undefined; getSize(): number; isEmpty(): boolean; toArray(): T[]; }