import { EventEmitter, SimpleChanges, AfterViewInit, OnChanges } from '@angular/core'; import { FormArray, FormGroup } from '@angular/forms'; import { KvPopupComponent } from '../kv-popup/kv-popup.component'; import { ActionType } from '../../enums/action-type.enum'; import { FormFactoryService } from '../../factories/form-factory.service'; import * as i0 from "@angular/core"; interface CreateWithMultipleItemsRequest { currency: string; offer_id: string; item_id: string; point_of_sale_id: string; amount: number; availability: number; expire_at: string; is_external: boolean; allow_multiple_items: boolean; base_price: number; } export declare class KvItemCardComponent implements AfterViewInit, OnChanges { private readonly formFactory; kvPopup?: KvPopupComponent; shouldShowDatepicker: boolean; offerId: string; showCostPopup: boolean; itemsSpecificationForm: FormArray; onContinue: EventEmitter; onCancel: EventEmitter; onItemsProcessed: EventEmitter<{ multipleItems: CreateWithMultipleItemsRequest[]; regularItems: any[]; }>; actionTypeEnum: typeof ActionType; defaultDate: Date; pageSize: number; currentPage: number; Math: Math; searchText: string; constructor(formFactory: FormFactoryService); ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; get filteredDataItems(): FormGroup[]; addItem(index: number, itemName?: string, itemIsExternal?: boolean, itemImage?: string, availability?: number, itemId?: string, posId?: string, itemBasePrice?: number): void; preventNegative(event: KeyboardEvent): void; onInput(event: Event, itemForm: FormGroup): void; protected onCancelAction(): void; formatNumber(value: string): string; allTimesHasCost(): boolean; getTotalExternalBasePrice(): number; showExternalBasePriceWarning(): boolean; canSubmit(): boolean; totalPages(): number; changePage(direction: number): void; hasItemsAssociated(): boolean; onSubmit(): void; processItemSpecifications(): void; protected onDatePicked(date: any, itemForm: FormGroup): void; removeItem(itemId: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};