import { _Stack } from './stack';
export declare class _Queue<T = any> {
    private head?;
    private tail?;
    enqueue(v: T): void;
    dequeue(): T;
    isEmpty(): boolean;
    reset(): void;
}
export declare class _QueueToStackAdapter<T = any> implements _Stack<T> {
    private queue;
    constructor(queue: _Queue<T>);
    push(v: T): void;
    pop(): T;
    isEmpty(): boolean;
    reset(): void;
}
