import { FetchStateAndError, ID } from '../../commonStateTypes/common'; import { SortOrder } from '../../commonStateTypes/selectorTypes/sortOrderTypes'; import { CockpitFilters } from '../companyView/types/cockpitTypes'; export type { AiAccountantCustomer, AiAccountantEnrollment, AiAccountantEnrollmentStatus, AiAccountantJob, AiAccountantJobStatus, AiAccountantOperationType, } from '../../entity/aiAccountantCustomer/aiAccountantCustomerState'; declare const toAiAccountantSortKeyType: (v: string) => "status" | "companyName" | "bookcloseDate" | "latestTraining" | "latestSync" | "accuracy"; export type AiAccountantSortKey = ReturnType; export interface AiAccountantUIState { filters: CockpitFilters; filterText: string; selectedCustomerTenantId: string; sortKey: AiAccountantSortKey; sortOrder: SortOrder; } export interface AiAccountantCustomerViewState { cancelOnboardingStatus: FetchStateAndError; jobsFetchStatus: FetchStateAndError; jobsPageToken: string | null; tenantId: ID; } export interface AiAccountantViewState { customersByTenantId: Record; customersFetchStatus: FetchStateAndError; selectedTenantIdsForJobTrigger: ID[]; triggerJobStatus: FetchStateAndError; uiState: AiAccountantUIState; }