import { default as Color } from 'color'; import { ClientAnalytics } from '@zeniai/client-analytics'; import { AuthParams, DownloadCockpitTabOptions, FetchState, HealthViewSortKey, ManagementViewSortKey, OnboardingStepsInfo, OnboardingViewSortKey, PortfolioViewSortKey, ReviewCompanyColumnKey, SortOrder, SubscriptionViewSortKey, TaskManagerViewSortKey } from '@zeniai/client-epic-state'; import { ResponsiveSized } from '../../../context/windowSizeProvider'; export interface HeaderItemData { isThreadAllowed: boolean; key: SubscriptionViewSortKey | PortfolioViewSortKey | ManagementViewSortKey | OnboardingViewSortKey | TaskManagerViewSortKey | HealthViewSortKey | "realmId"; sortOrder: SortOrder; value: string; width: ResponsiveSized; } export interface ReviewHeaderItemData { isThreadAllowed: boolean; key: ReviewCompanyColumnKey; sortOrder: SortOrder; value: string; width: ResponsiveSized; } export interface CockpitColorProps { color: Color; backgroundColor?: Color; } export interface CockpitGroupColorProps { bgColor: Color; borderColor: Color; color: Color; } export declare const COCKPIT_OPTIONS: readonly ["management", "subscription", "portfolio", "onboarding", "audit", "healthMonitor", "taskManager", "aiAccountant", "creditAgent"]; export declare const toCockpitOptionType: (v: string) => "onboarding" | "management" | "subscription" | "portfolio" | "audit" | "healthMonitor" | "taskManager" | "aiAccountant" | "creditAgent"; export declare const toCockpitOptionTypeStrict: (v: string) => "onboarding" | "management" | "subscription" | "portfolio" | "audit" | "healthMonitor" | "taskManager" | "aiAccountant" | "creditAgent" | undefined; export type CockpitOptionType = ReturnType; export declare const isKeyOfObject: (key: SubscriptionViewSortKey | PortfolioViewSortKey | ManagementViewSortKey | OnboardingViewSortKey | ReviewCompanyColumnKey | TaskManagerViewSortKey | HealthViewSortKey | "realmId", object: OnboardingStepsInfo) => key is keyof OnboardingStepsInfo; export type DownloadCockpitParams = { authParams: AuthParams; cockpitEndPoint: string; }; export interface DownloadbleCockpitProps { analytics: ClientAnalytics; currentCockpitTab: string; defaultOptions: DownloadCockpitTabOptions; downloadParams: DownloadCockpitParams; downloadState: FetchState; updateDownloadStateHandler: (newDownloadState: FetchState) => void; }