import { IPrimitiveValue, ISqlAdapter } from "@trong-orm/sql"; import { IBaseToken, TokenType } from "../types"; export interface ILimitOffsetTerm extends IBaseToken { _limitValue?: IBaseToken; _offsetValue?: IBaseToken; } export interface ILimitOffsetState { _limitOffsetValue: ILimitOffsetTerm; limit: typeof limit; offset: typeof offset; withoutLimit: typeof withoutLimit; withoutOffset: typeof withoutOffset; } export declare const buildInitialLimitOffsetState: () => ILimitOffsetTerm; export declare function limit(this: T, val: IBaseToken | ISqlAdapter | IPrimitiveValue): T; export declare function withoutLimit(this: T): T; export declare function offset(this: T, val: IBaseToken | ISqlAdapter | IPrimitiveValue): T; export declare function withoutOffset(this: T): T;