import { GridBaseAPIService } from '../api.service';
import { IgxTreeGridComponent } from './tree-grid.component';
import { ITreeGridRecord } from './tree-grid.interfaces';
import { ColumnType } from '../common/column.interface';
import { IFilteringExpressionsTree } from '../../data-operations/filtering-expressions-tree';
export declare class IgxTreeGridAPIService extends GridBaseAPIService<IgxTreeGridComponent> {
    get_all_data(transactions?: boolean): any[];
    get_summary_data(): any[];
    allow_expansion_state_change(rowID: any, expanded: any): boolean;
    expand_path_to_record(record: ITreeGridRecord): void;
    get_row_expansion_state(record: ITreeGridRecord): boolean;
    should_apply_number_style(column: ColumnType): boolean;
    deleteRowById(rowID: any): any;
    deleteRowFromData(rowID: any, index: number): void;
    get_selected_children(record: ITreeGridRecord, selectedRowIDs: any[]): void;
    row_deleted_transaction(rowID: any): boolean;
    get_rec_by_id(rowID: any): ITreeGridRecord;
    addRowToData(data: any, parentRowID?: any): void;
    filterDataByExpressions(expressionsTree: IFilteringExpressionsTree): any[];
    protected update_row_in_array(value: any, rowID: any, index: number): void;
    /**
     * Updates related row of provided grid's data source with provided new row value
     *
     * @param grid Grid to update data for
     * @param rowID ID of the row to update
     * @param rowValueInDataSource Initial value of the row as it is in data source
     * @param rowCurrentValue Current value of the row as it is with applied previous transactions
     * @param rowNewValue New value of the row
     */
    protected updateData(grid: IgxTreeGridComponent, rowID: any, rowValueInDataSource: any, rowCurrentValue: any, rowNewValue: {
        [x: string]: any;
    }): void;
    private row_deleted_parent;
    private getFlatDataFromFilteredRecords;
}
