import type {
  CustomerOrderCountRangeFilter,
  CustomerProfileDto,
  CustomerRegisterPeriodFilter,
  CustomerTagFilter,
} from '#/api/customer';
import type { StoreListItemDto } from '#/api/store';

/** 客户画像页筛选状态（用于默认客户定位）。 */
export interface CustomerProfileListFilters {
  keyword: string;
  orderCountRange: CustomerOrderCountRangeFilter;
  registerPeriod: CustomerRegisterPeriodFilter;
  tag: CustomerTagFilter;
}

/** 客户画像页状态。 */
export interface CustomerProfilePageState {
  activeCustomerKey: string;
  isProfileLoading: boolean;
  isStoreLoading: boolean;
  profile: CustomerProfileDto | null;
  selectedStoreId: string;
  stores: StoreListItemDto[];
}
