import { IDbConstructorOptions, TDbRecord } from '../interfaces';
export declare class DbBase {
    readonly options: IDbConstructorOptions;
    dbInfo: string;
    fieldsList: string;
    schemaAndTable: string;
    fieldsArray: string[];
    tsField: string;
    idFields: string[] | any[];
    sortBy: string;
    private ld;
    private rd;
    private noLock;
    private readonly recordsetPropName;
    constructor(options: IDbConstructorOptions);
    getPool(): Promise<any>;
    close(): Promise<boolean>;
    query(strSQL: string): Promise<any>;
    _getColumnsNames(): Promise<string[]>;
    init(): Promise<void>;
    limitIt(strSQL: string, limit: number): string;
    getPortionSQL({ startTs, endTs, limit }: {
        startTs: number;
        endTs: number;
        limit: number;
    }): string;
    getPortionOfData({ startTs, endTs, limit }: {
        startTs: number;
        endTs: number;
        limit: number;
    }): Promise<TDbRecord[]>;
}
//# sourceMappingURL=DbBase.d.ts.map