import { FetchClause, FetchExpression } from "../models/Clause";
import { Lexeme } from "../models/Lexeme";
export declare class FetchClauseParser {
    /**
     * Parses a FETCH clause from a lexeme array starting at the given index.
     * Supports syntax like: FETCH [FIRST|NEXT] <count> ROWS ONLY
     * @param lexemes The array of lexemes
     * @param index The starting index
     * @returns { value: FetchSpecification, newIndex: number }
     */
    static parseFromLexeme(lexemes: Lexeme[], index: number): {
        value: FetchClause;
        newIndex: number;
    };
}
export declare class FetchExpressionParser {
    /**
     * Parses a FETCH expression (not the whole clause, just the fetch part)
     */
    static parseFromLexeme(lexemes: Lexeme[], index: number): {
        value: FetchExpression;
        newIndex: number;
    };
}
