/**
 * THIS IS GENERATED CODE!
 * PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
 */
export declare const typescriptDeclarationFixConstant = 1;
import { UiEvent } from "./UiEvent";
import { TeamAppsEvent } from "../modules/util/TeamAppsEvent";
import { UiComponentConfig } from "./UiComponentConfig";
import { UiFormLayoutPolicyConfig } from "./UiFormLayoutPolicyConfig";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiGridFormConfig extends UiComponentConfig {
    _type?: string;
    fields: unknown[];
    layoutPolicies: UiFormLayoutPolicyConfig[];
}
export interface UiGridFormCommandHandler extends UiComponentCommandHandler {
    updateLayoutPolicies(layoutPolicies: UiFormLayoutPolicyConfig[]): void;
    setSectionCollapsed(sectionId: string, collapsed: boolean): void;
    addOrReplaceField(field: unknown): void;
}
export interface UiGridFormEventSource {
    onSectionCollapsedStateChanged: TeamAppsEvent<UiGridForm_SectionCollapsedStateChangedEvent>;
}
export interface UiGridForm_SectionCollapsedStateChangedEvent extends UiEvent {
    sectionId: string;
    collapsed: boolean;
}
