import { type LazyDataFrame } from "./dataframe"; import type { Expr } from "./expr"; /** @ignore */ export declare const _LazyGroupBy: (_lgb: any) => LazyGroupBy; /** * LazyGroupBy * @category lazy */ export interface LazyGroupBy { /** * Aggregate the groupby. */ agg(...aggs: Expr[]): LazyDataFrame; /** * Return the first n rows of the groupby. * @param n number of rows to return */ head(n?: number): LazyDataFrame; /** * Return the number of rows in each group. * @param name Assign a name to the resulting column; if unset, defaults to "len". */ len(name?: string): LazyDataFrame; /** * Return the last n rows of the groupby. * @param n number of rows to return */ tail(n?: number): LazyDataFrame; }