/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Token } from "./Token.js";
/**
 * Token-related state for the parser.
 */
export interface TokenStream<T extends Token> {
    done: boolean;
    description: string;
    token?: T;
    peeked?: T;
    next(): void;
}
export declare function TokenStream<T extends Token>(iterator: Iterator<T>): TokenStream<T>;
//# sourceMappingURL=TokenStream.d.ts.map