import { FetchStateAndError, ID } from '../../../commonStateTypes/common'; import { Recommendation } from '../../../commonStateTypes/recommendationBase'; import { TimePeriod } from '../../../commonStateTypes/timePeriod'; import { RecommendedAccountBase } from '../../../entity/account/accountState'; import { RecommendedClassBase } from '../../../entity/class/classState'; import { Filing1099TinType } from '../../../entity/vendor/vendorType'; import { VendorSpendTrendFilterTabType } from '../../../entity/vendorExpense/vendorSpendTrendFilterTabType'; import { AddressUpdatableInfo } from '../../addressView/addressViewState'; import { VendorContactInfo } from '../vendorView/vendorViewState'; export declare const toVendorDetailTabsType: (v: string) => "spend_transactions" | "all_transactions"; export type VendorDetailTabsType = ReturnType; export interface VendorsTabVendorViewState { selectedTabType: VendorDetailTabsType; uiState: VendorsTabVendorViewUIState; vendorSpendTrendFilterTabValue: VendorSpendTrendFilterTabType; vendorStateById: Record; allTransactionsTabData?: { numberOfQuartersFetched: number; timePeriod: TimePeriod; }; } export interface VendorsTabVendorDetailLocalData { contacts: VendorContactInfo[]; isCategoryUpdateSelected: boolean; isClassUpdateSelected: boolean; recommendedCategory: RecommendedAccountBase | undefined; recommendedClass: RecommendedClassBase | undefined; address?: AddressUpdatableInfo; legalName?: string; recommendations?: Recommendation[]; tin?: Filing1099TinType; vendorCategory?: string; vendorClass?: string; vendorEmail?: string; vendorId?: ID; vendorName?: string; vendorOwner?: ID; vendorPhone?: string; vendorType?: string; } export interface VendorsTabVendorDetailState { fetchStatus: FetchStateAndError; saveStatus: FetchStateAndError; vendorDetailLocalData?: VendorsTabVendorDetailLocalData; } declare const toCollapsableStatusKey: (v: string) => "expand" | "collapse"; export type CollapsableStatusKey = ReturnType; export interface VendorsTabVendorViewUIState { collapsableStatus: CollapsableStatusKey; } export {};