import { ElementRef, OnInit, Renderer2 } from '@angular/core';
import { QdSubgridConfig } from '../model/subgrid-config.interface';
import { QdGridService } from '../services/grid.service';
import * as i0 from "@angular/core";
import * as i1 from "../directives/column.directive";
/**
 * The component **qd-subgrid** is used to define a subgroup in the **qd-grid**.
 * In the config you have to define the number of columns that are assigned to this subgrid.
 * Optionally, you also can define a title in the config.
 *
 * *  See parent component **qd-grid**
 * *  See child directive **qdColumn**
 *
 * **Usage:**
 *
 * @example
 * <qd-grid [config]="{ columns: 6 }">
 *   <qd-subgrid [config]="{ columns: 2 }">
 *     <div qdColumn="1"></div>
 *     <div qdColumn="1"></div>
 *     <div qdColumn="2"></div>
 *   <qd-subgrid>
 *   <qd-subgrid [config]="{ columns: 4 }">
 *     <div qdColumn="2"></div>
 *     <div qdColumn="2"></div>
 *     <div qdColumn="4"></div>
 *   <qd-subgrid>
 * </qd-grid>
 */
export declare class QdSubgridComponent implements OnInit {
    private readonly gridService;
    private readonly renderer;
    private readonly elementRef;
    config?: QdSubgridConfig;
    private readonly _columnDirective;
    constructor(gridService: QdGridService, renderer: Renderer2, elementRef: ElementRef<HTMLElement>);
    ngOnInit(): Promise<void>;
    private getMaxGridColspan;
    private addResponsiveColspansClasses;
    private addClass;
    static ɵfac: i0.ɵɵFactoryDeclaration<QdSubgridComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<QdSubgridComponent, "qd-subgrid", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, ["*"], false, [{ directive: typeof i1.QdColumnDirective; inputs: { "qdColumn": "qdColumn"; }; outputs: {}; }]>;
}
//# sourceMappingURL=subgrid.component.d.ts.map