import type { SQLChunk } from "./sql.js"; import type { ColumnConfig } from "../types/index.js"; export declare const count: (column?: string | ColumnConfig) => SQLChunk; export declare const sum: (column: string | ColumnConfig) => SQLChunk; export declare const avg: (column: string | ColumnConfig) => SQLChunk; export declare const min: (column: string | ColumnConfig) => SQLChunk; export declare const max: (column: string | ColumnConfig) => SQLChunk; export declare const stddev: (column: string | ColumnConfig) => SQLChunk; export declare const variance: (column: string | ColumnConfig) => SQLChunk; export interface WindowOptions { partitionBy?: string | ColumnConfig | SQLChunk | Array; orderBy?: { column: string | ColumnConfig | SQLChunk; dir?: "asc" | "desc"; } | Array<{ column: string | ColumnConfig | SQLChunk; dir?: "asc" | "desc"; }>; } export declare const over: (agg: SQLChunk, options?: WindowOptions) => SQLChunk; export declare const rowNumber: (options?: WindowOptions) => SQLChunk; export declare const rank: (options?: WindowOptions) => SQLChunk; export declare const denseRank: (options?: WindowOptions) => SQLChunk; //# sourceMappingURL=aggregations.d.ts.map