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