export * from './connectionInterface'; export * from './deleteAllInterface'; export * from './deleteInterface'; export * from './idGeneratorInterface'; export * from './inputDTO'; export * from './insertInterface'; export * from './modelInterface'; export * from './providerInterface'; export * from './queryDTO'; export * from './rawInterface'; export * from './repositoryDTO'; export * from './resultDTO'; export * from './selectAllInterface'; export * from './selectInterface'; export * from './selectPaginationInterface'; export * from './updateInterface'; export * from './viewPaginationInterface'; import { Pagination, Where } from "../model/inputDTO"; declare type whereOperator = { operator?: 'AND' | 'OR'; fields: Partial; }; export declare type QueryInput = { command: 'DELETE' | 'INSERT' | 'SELECT' | 'UPDATE'; fields?: string | string[] | Partial; counter?: boolean; where?: whereOperator | whereOperator[] | Partial; }; export declare type SelectQueryInput = { fields?: string | string[]; where?: whereOperator | whereOperator[] | Partial; }; export declare type QueryOutput = { sql: string; sqlPlainText: string; values?: string[]; }; export declare type MakeOutput = { sql: string; sqlPlainText: string; values: any[]; }; export interface PgHelperInterface { makeQuery(input: QueryInput): QueryOutput; makeRawQuery(query: string): QueryOutput; getDateTimeStamp(): string; makeFilter(filter: Where): MakeOutput; makePagination(pagination: Pagination): MakeOutput; selectQuery(input?: SelectQueryInput, pagination?: Pagination): QueryOutput; } export interface ReturnObject { sql: string; values?: any[]; }