/** * Pushes the given item to the stack. * * @param list - a list * @param item - an item */ export declare function push(list: Array, item: T): void; /** * Pops and returns an item from the stack. * * @param list - a list */ export declare function pop(list: Array): NonNullable | null;