import { Transaction } from 'sequelize'; import { Collection } from '../collection'; import QueryInterface, { TableInfo } from './query-interface'; export default class PostgresQueryInterface extends QueryInterface { constructor(db: any); setAutoIncrementVal(options: { tableInfo: TableInfo; columnName: string; seqName?: string; currentVal?: number; transaction?: Transaction; }): Promise; getAutoIncrementInfo(options: { tableInfo: TableInfo; fieldName: string; }): Promise<{ seqName?: string; currentVal: number; }>; collectionTableExists(collection: Collection, options?: any): Promise; listViews(): Promise<[unknown[], unknown]>; viewDef(viewName: string): Promise; parseSQL(sql: string): any; viewColumnUsage(options: any): Promise<{ [view_column_name: string]: { column_name: string; table_name: string; table_schema?: string; }; }>; showTableDefinition(tableInfo: TableInfo): Promise; }