import { UiGridForm_SectionCollapsedStateChangedEvent, UiGridFormCommandHandler, UiGridFormConfig, UiGridFormEventSource } from "../generated/UiGridFormConfig";
import { UiFormLayoutPolicyConfig } from "../generated/UiFormLayoutPolicyConfig";
import { AbstractUiComponent } from "./AbstractUiComponent";
import { TeamAppsUiContext } from "./TeamAppsUiContext";
import { TeamAppsEvent } from "./util/TeamAppsEvent";
import { UiComponent } from "./UiComponent";
export declare class UiGridForm extends AbstractUiComponent<UiGridFormConfig> implements UiGridFormCommandHandler, UiGridFormEventSource {
    readonly onSectionCollapsedStateChanged: TeamAppsEvent<UiGridForm_SectionCollapsedStateChangedEvent>;
    private $mainDiv;
    private sections;
    private layoutPoliciesFromLargeToSmall;
    private activeLayoutPolicyIndex;
    private uiFields;
    private fillRemainingHeightCheckerInterval;
    private sectionCollapseOverrides;
    private fieldWrappers;
    constructor(config: UiGridFormConfig, context: TeamAppsUiContext);
    private addField;
    doGetMainElement(): HTMLElement;
    onResize(): void;
    private determineLayoutPolicyIndexToApply;
    private applyLayoutPolicy;
    setSectionCollapsed(sectionId: string, collapsed: boolean): void;
    updateLayoutPolicies(layoutPolicies: UiFormLayoutPolicyConfig[]): void;
    private ensureFillRemainingHeight;
    destroy(): void;
    addOrReplaceField(field: UiComponent): void;
    private getFieldWrapper;
}
