import * as Knex from "knex"; export declare type DerivativeSql = (dialect: string, ...columnNames: string[]) => string; export declare class Derivative { sql: DerivativeSql; constructor(sql: DerivativeSql); toSql(db: Knex | undefined, ...columnNames: string[]): string; }