import type { Sampling, AtomicTypeDef, TimeDeltaExpr, RegexMatchExpr, MeasureTimeExpr, BasicAtomicTypeDef, RecordLiteralNode, OrderBy } from '../../model/malloy_types'; import type { DialectFunctionOverloadDef } from '../functions'; import type { DialectFieldList, FieldReferenceType } from '../dialect'; import { PostgresBase } from '../pg_impl'; export declare class DuckDBDialect extends PostgresBase { name: string; experimental: boolean; defaultNumberType: string; defaultDecimalType: string; hasFinalStage: boolean; divisionIsInteger: boolean; supportsSumDistinctFunction: boolean; unnestWithNumbers: boolean; defaultSampling: { rows: number; }; supportUnnestArrayAgg: boolean; supportsAggDistinct: boolean; supportsCTEinCoorelatedSubQueries: boolean; dontUnionIndex: boolean; supportsQualify: boolean; supportsSafeCast: boolean; supportsNesting: boolean; supportsCountApprox: boolean; get udfPrefix(): string; quoteTablePath(tableName: string): string; sqlGroupSetTable(groupSetCount: number): string; sqlAnyValue(groupSet: number, fieldName: string): string; sqlLiteralNumber(literal: string): string; mapFields(fieldList: DialectFieldList): string; sqlAggregateTurtle(groupSet: number, fieldList: DialectFieldList, orderBy: string | undefined): string; sqlAnyValueTurtle(groupSet: number, fieldList: DialectFieldList): string; sqlAnyValueLastTurtle(name: string, groupSet: number, sqlName: string): string; sqlCoaleseMeasuresInline(groupSet: number, fieldList: DialectFieldList): string; sqlUnnestAlias(source: string, alias: string, _fieldList: DialectFieldList, needDistinctKey: boolean, _isArray: boolean, isInNestedPipeline: boolean): string; sqlSumDistinctHashedKey(_sqlDistinctKey: string): string; sqlGenerateUUID(): string; sqlDateToString(sqlDateExp: string): string; sqlFieldReference(parentAlias: string, parentType: FieldReferenceType, childName: string, _childType: string): string; sqlUnnestPipelineHead(isSingleton: boolean, sourceSQLExpression: string): string; sqlCreateFunction(id: string, funcText: string): string; sqlCreateFunctionCombineLastStage(lastStageName: string, dialectFieldList: DialectFieldList, orderBy: OrderBy[] | undefined): string; sqlSelectAliasAsStruct(alias: string, dialectFieldList: DialectFieldList): string; sqlCreateTableAsSelect(_tableName: string, _sql: string): string; sqlSumDistinct(key: string, value: string, funcName: string): string; sqlAggDistinct(key: string, values: string[], func: (valNames: string[]) => string): string; sqlSampleTable(tableSQL: string, sample: Sampling | undefined): string; sqlOrderBy(orderTerms: string[]): string; sqlLiteralString(literal: string): string; sqlLiteralRegexp(literal: string): string; getDialectFunctionOverrides(): { [name: string]: DialectFunctionOverloadDef[]; }; getDialectFunctions(): { [name: string]: DialectFunctionOverloadDef[]; }; malloyTypeToSQLType(malloyType: AtomicTypeDef): string; parseDuckDBType(sqlType: string): AtomicTypeDef; sqlTypeToMalloyType(sqlType: string): BasicAtomicTypeDef; castToString(expression: string): string; concat(...values: string[]): string; validateTypeName(sqlType: string): boolean; sqlAlterTimeExpr(df: TimeDeltaExpr): string; sqlRegexpMatch(df: RegexMatchExpr): string; sqlMeasureTimeExpr(df: MeasureTimeExpr): string; sqlLiteralRecord(lit: RecordLiteralNode): string; }