import type { Sampling, AtomicTypeDef, TimeDeltaExpr, TypecastExpr, MeasureTimeExpr, BasicAtomicTypeDef, RecordLiteralNode, ArrayLiteralNode, TimeExtractExpr } from '../../model/malloy_types'; import type { DialectFunctionOverloadDef } from '../functions'; import { type DialectFieldList, type FieldReferenceType, type QueryInfo } from '../dialect'; import { PostgresBase } from '../pg_impl'; export declare class PostgresDialect extends PostgresBase { name: string; defaultNumberType: string; defaultDecimalType: string; udfPrefix: string; hasFinalStage: boolean; divisionIsInteger: boolean; supportsSumDistinctFunction: boolean; unnestWithNumbers: boolean; defaultSampling: { rows: number; }; supportUnnestArrayAgg: boolean; supportsAggDistinct: boolean; supportsCTEinCoorelatedSubQueries: boolean; supportsSafeCast: boolean; dontUnionIndex: boolean; supportsQualify: boolean; supportsNesting: boolean; experimental: boolean; readsNestedData: boolean; supportsComplexFilteredSources: boolean; compoundObjectInSchema: boolean; likeEscape: boolean; quoteTablePath(tablePath: string): string; sqlGroupSetTable(groupSetCount: number): string; sqlAnyValue(groupSet: number, fieldName: 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; 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): string; sqlFinalStage(lastStageName: string, _fields: string[]): string; sqlSelectAliasAsStruct(alias: string): string; sqlCreateTableAsSelect(_tableName: string, _sql: string): string; sqlAlterTimeExpr(df: TimeDeltaExpr): string; sqlCast(qi: QueryInfo, cast: TypecastExpr): string; sqlMeasureTimeExpr(df: MeasureTimeExpr): 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; sqlTypeToMalloyType(sqlType: string): BasicAtomicTypeDef; castToString(expression: string): string; concat(...values: string[]): string; validateTypeName(sqlType: string): boolean; sqlLiteralRecord(lit: RecordLiteralNode): string; sqlLiteralArray(lit: ArrayLiteralNode): string; sqlTimeExtractExpr(qi: QueryInfo, from: TimeExtractExpr): string; }