/**
 * 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 { UiTemplateConfig } from "./UiTemplateConfig";
import { UiIdentifiableClientRecordConfig } from "./UiIdentifiableClientRecordConfig";
import { UiHorizontalElementAlignment } from "./UiHorizontalElementAlignment";
import { UiVerticalElementAlignment } from "./UiVerticalElementAlignment";
import { UiItemJustification } from "./UiItemJustification";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiInfiniteItemView2Config extends UiComponentConfig {
    _type?: string;
    itemTemplate: UiTemplateConfig;
    itemWidth?: number;
    itemHeight?: number;
    horizontalSpacing?: number;
    verticalSpacing?: number;
    itemContentHorizontalAlignment?: UiHorizontalElementAlignment;
    itemContentVerticalAlignment?: UiVerticalElementAlignment;
    rowHorizontalAlignment?: UiItemJustification;
    contextMenuEnabled?: boolean;
}
export interface UiInfiniteItemView2CommandHandler extends UiComponentCommandHandler {
    setData(startIndex: number, recordIds: number[], newRecords: UiIdentifiableClientRecordConfig[], totalNumberOfRecords: number): void;
    setItemTemplate(itemTemplate: UiTemplateConfig): void;
    setItemWidth(itemWidth: number): void;
    setItemHeight(itemHeight: number): void;
    setHorizontalSpacing(horizontalSpacing: number): void;
    setVerticalSpacing(verticalSpacing: number): void;
    setItemContentHorizontalAlignment(itemContentHorizontalAlignment: UiHorizontalElementAlignment): void;
    setItemContentVerticalAlignment(itemContentVerticalAlignment: UiVerticalElementAlignment): void;
    setRowHorizontalAlignment(rowHorizontalAlignment: UiItemJustification): void;
    setContextMenuContent(requestId: number, component: unknown): void;
    closeContextMenu(requestId: number): void;
}
export interface UiInfiniteItemView2EventSource {
    onRenderedItemRangeChanged: TeamAppsEvent<UiInfiniteItemView2_RenderedItemRangeChangedEvent>;
    onItemClicked: TeamAppsEvent<UiInfiniteItemView2_ItemClickedEvent>;
    onContextMenuRequested: TeamAppsEvent<UiInfiniteItemView2_ContextMenuRequestedEvent>;
}
export interface UiInfiniteItemView2_RenderedItemRangeChangedEvent extends UiEvent {
    startIndex: number;
    endIndex: number;
}
export interface UiInfiniteItemView2_ItemClickedEvent extends UiEvent {
    recordId: number;
    isRightMouseButton: boolean;
    isDoubleClick: boolean;
}
export interface UiInfiniteItemView2_ContextMenuRequestedEvent extends UiEvent {
    requestId: number;
    recordId: number;
}
