///
import { Renderer, ElementRef, IterableDiffers } from "@angular/core";
import { IgGridBase } from "../iggrid/iggridbase";
export declare class IgTreeGridComponent extends IgGridBase {
constructor(el: ElementRef, renderer: Renderer, differs: IterableDiffers);
deleteRow(id: any): void;
ngDoCheck(): void;
/**
* Clears the transaction log (delegates to igDataSource). Note that this does not update the UI. In case the UI must be updated, set the second parameter "updateUI" to true, which will trigger a call to dataBind() to re-render the contents.
*
* @param rowId If specified, will only rollback the transactions with that row id.
* @param updateUI Whether to update the UI or not.
*/
rollback(rowId?: Object, updateUI?: boolean): any[];
/**
* Causes the treegrid to data bind to the data source (local or remote) , and re-render all of the data
*/
dataBind(): void;
/**
* Toggle row by specified row or row identifier
*
* @param row jQuery table row object or a row id.
* @param callback Specifies a custom function to be called when row is expanded/collapsed. The callback has 4 arguments- a reference to the current context(this), object that holds 2 properties(unfixedRow - DOM representation of the unfixed row, fixedRow - DOM representation of the fixed row, if there is no fixed columns it is undefined), reference to the dataRecord, expand - specifies whether row is expanded
*/
toggleRow(row: Object, callback?: Function): void;
/**
* Expands a parent row by specified row or row identifier
*
* @param row jQuery table row object or a row id.
* @param callback Specifies a custom function to be called when row is expanded/collapsed. The callback has 4 arguments- a reference to the current context(this), object that holds 2 properties(unfixedRow - DOM representation of the unfixed row, fixedRow - DOM representation of the fixed row, if there is no fixed columns it is undefined), reference to the dataRecord, expand - specifies whether row is expanded
*/
expandRow(row: Object, callback?: Function): void;
/**
* Collapses a parent row by specified row or row identifier
*
* @param row jQuery table row object, raw DOM row object or a row id.
* @param callback Specifies a custom function to be called when row is expanded/collapsed. The callback has 4 arguments- a reference to the current context(this), object that holds 2 properties(unfixedRow - DOM representation of the unfixed row, fixedRow - DOM representation of the fixed row, if there is no fixed columns it is undefined), reference to the dataRecord, expand - specifies whether row is expanded
*/
collapseRow(row: Object, callback?: Function): void;
/**
* Adds a new row (TR) to the grid as a child of a specific row, by taking a data row object. Assumes the record will have the primary key.
*
* @param rec The data row JavaScript object.
* @param parentId Identifier/key of the targeted parent row. If missing, then the new row is rendered to the bottom of the grid.
*/
renderNewChild(rec: Object, parentId?: string): void;
/**
* Destroys igTreeGrid
*/
destroy(): Object;
}