export declare class Stack<T> {
    private head?;
    private _size;
    push(...values: T[]): this;
    pop(_default?: T): T | undefined;
    top(): T | undefined;
    isEmpty(): boolean;
    clear(): void;
    get size(): number;
}
