import { FetchStateAndError, ID } from '../../commonStateTypes/common'; export type { CardStatus, CardTenantProfileRow, CreditAgentMacro, } from '../../entity/creditAgent/creditAgentState'; declare const toCreditAgentSortKeyType: (v: string) => "status" | "name" | "creditLimit" | "creditScore" | "recAmount" | "reportDate" | "updatedBy"; export type CreditAgentSortKey = ReturnType; export type CreditAgentSortDir = 'asc' | 'desc'; declare const toCreditAgentFocusFilterType: (v: string) => "Interested" | "All" | "New only" | "Active only"; export type CreditAgentFocusFilter = ReturnType; export interface CreditAgentUIState { filterText: string; focus: CreditAgentFocusFilter; minScore: number; sortDir: CreditAgentSortDir; sortKey?: CreditAgentSortKey; } export interface CreditAgentTenantView { analyzeStatus: FetchStateAndError; tenantId: ID; updateStatus: FetchStateAndError; } export interface CreditAgentMacroState { fetchStatus: FetchStateAndError; updateStatus: FetchStateAndError; } export interface CreditAgentViewState { macro: CreditAgentMacroState; profilesFetchStatus: FetchStateAndError; tenantViewByTenantId: Record; uiState: CreditAgentUIState; }