import { Observer } from 'rxjs/Observer';
import { DbQuery } from './db-query.model';
import { QueryResult } from '../interfaces/query-result.interface';
/**
 * @public
 * @class PendingDbQuery
 *
 * @description
 * This class is a part of private API
 * it is a combination of dbQuery and linked observer to stack the query
 * during connector activation
 *
 * @author  Olivier Margarit
 * @since   0.1
 */
export declare class PendingDbQuery {
    dbQuery: DbQuery;
    observer: Observer<QueryResult<any>>;
    /**
     * @public
     * @constructor pending query constructor to create new stackable query
     * waiting for the connector to be ready
     *
     * @param {DbQuery} dbQuery db query object with all query informations
     *                  see the class documentation
     * @param {Observable<any>} observer the observer to notify the subscribers query result
     */
    constructor(dbQuery: DbQuery, observer: Observer<QueryResult<any>>);
}
