import type { Dispatch, ReactNode, SetStateAction } from 'react'; import type { SummaryListProps } from '@pega/cosmos-react-core'; import type { Tab } from '@pega/cosmos-react-core/lib/components/Tabs/Tabs.types'; import type { CaseViewProps } from '@pega/cosmos-react-work'; import type { TokenMap } from '@pega/cosmos-react-rte'; import type { FeedProps } from '@pega/cosmos-react-social'; export interface CaseViewMockProps { caseId: CaseViewProps['caseId']; icon?: CaseViewProps['icon']; heading: CaseViewProps['heading']; subheading?: CaseViewProps['subheading']; parentCases?: boolean; summaryFields?: 'All' | 'Primary only' | 'Secondary only'; tabs?: CaseViewProps['tabs']; stages?: boolean; tasks?: boolean | CaseViewProps['tasks']; taskCount?: number; predictions?: boolean; attachments?: boolean; stakeholders?: boolean; casehierarchy?: boolean; followers?: boolean; tags?: boolean; persistentUtility?: boolean | CaseViewProps['persistentUtility']; intelligentGuidance?: CaseViewProps['intelligentGuidance']; banner?: boolean; utilitiesExpanded?: boolean; promotedActions?: 0 | 1 | 2 | 3 | 4 | 5; headingLength?: 'short' | 'medium' | 'long'; defaultExpanded?: boolean; hideStakeholdersAddNew?: boolean; additionalActions?: boolean; enableGenAICoach?: boolean; showGenAICoachErrorMessage?: boolean; showUtilityNotification?: boolean; showPersistentUtilityExpand?: boolean; } interface PreviewSetters { setPreviewCaseId: Dispatch>; setPreviewCurrentTabId: Dispatch>; } export declare const caseId = "C-123456"; export declare const createDate: Date; export declare const tabLabels: string[]; export declare const baseCaseTabs: Tab[]; export declare const MockSummaryListViewAllModal: ({ name, count }: { name: string | undefined; count: number; }) => import("react/jsx-runtime").JSX.Element; export declare const MockSummaryList: ({ icon, name, actions, limit }: Pick & { actions?: null; limit?: number; }) => import("react/jsx-runtime").JSX.Element; export declare const MockOperatorFieldValue: () => import("react/jsx-runtime").JSX.Element; export declare const PreviewLinkComponent: ({ token: linkToken, setPreviewCaseId, setPreviewCurrentTabId }: { token: TokenMap["link"]; } & PreviewSetters) => import("react/jsx-runtime").JSX.Element; export declare const getCaseHierarchyNodes: ({ setPreviewCaseId, setPreviewCurrentTabId }: PreviewSetters) => { id: string; label: string; secondary: string; expanded: boolean; nodes: { id: string; label: string; secondary: string; href: string; onPreview: () => void; }[]; }[]; export declare const getPulseMarkdownMap: ({ setPreviewCaseId, setPreviewCurrentTabId }: PreviewSetters) => FeedProps["markdownMap"]; export declare const onMentionPreview: ({ id, type, setPreviewCaseId, setPreviewCurrentTabId }: { id: string; type: string; } & PreviewSetters) => void; export declare const getTabContent: ({ setPreviewCaseId, setPreviewCurrentTabId }: PreviewSetters) => { id: string; content: import("react/jsx-runtime").JSX.Element; }[]; export declare const previewTabContent: { id: string; content: import("react/jsx-runtime").JSX.Element; }[]; export declare const getPrimaryFields: () => { id: string; name: string; value: string; }[]; export declare const getSecondaryFields: ({ setPreviewCaseId, setPreviewCurrentTabId }: PreviewSetters) => (import("@pega/cosmos-react-work/lib/components/CaseView/CaseView.types").SummaryField | { name: string; value: import("react/jsx-runtime").JSX.Element; })[]; export declare const casePreviewPrimaryFields: { name: string; value: string; }[]; export declare const casePreviewSecondaryFields: import("@pega/cosmos-react-work/lib/components/CaseView/CaseView.types").SummaryField[]; export declare const getParentCases: ({ setPreviewCaseId, setPreviewCurrentTabId }: { caseId: CaseViewProps["caseId"]; } & PreviewSetters) => { id: string; primary: string; href: string; previewable: boolean; onPreview: () => void; }[]; interface UtilitiesArgs { predictions?: CaseViewMockProps['predictions']; attachments?: CaseViewMockProps['attachments']; stakeholders?: CaseViewMockProps['stakeholders']; casehierarchy?: CaseViewMockProps['casehierarchy']; followers?: CaseViewMockProps['followers']; tags?: CaseViewMockProps['tags']; setPreviewCaseId: Dispatch>; setPreviewCurrentTabId: Dispatch>; } interface UtilitySummaryItemsArgs { predictions?: CaseViewMockProps['predictions']; attachments?: CaseViewMockProps['attachments']; stakeholders?: CaseViewMockProps['stakeholders']; casehierarchy?: CaseViewMockProps['casehierarchy']; followers?: CaseViewMockProps['followers']; tags?: CaseViewMockProps['tags']; hideStakeholdersAddNew?: boolean; setDialogName: Dispatch>; setDialogTarget: (instance: HTMLElement | null) => void; setDialogContent: Dispatch>; setShowDialog: Dispatch>; setPreviewCaseId: Dispatch>; setPreviewCurrentTabId: Dispatch>; dialogTarget: HTMLElement | null; showDialog: boolean; } export declare const Utilities: ({ predictions, attachments, stakeholders, casehierarchy, followers, tags, setPreviewCaseId, setPreviewCurrentTabId }: UtilitiesArgs) => import("react/jsx-runtime").JSX.Element; export declare const getUtilitiesSummaryItems: ({ predictions, attachments, stakeholders, followers, casehierarchy, tags, hideStakeholdersAddNew, setDialogName, setDialogTarget, setDialogContent, setShowDialog, dialogTarget, showDialog, setPreviewCaseId, setPreviewCurrentTabId }: UtilitySummaryItemsArgs) => NonNullable; export declare const getCaseActions: () => { text: string; id: string; onClick: () => void; }[]; export declare const getPromotedActions: (count: number) => { id: string; text: string; onClick: () => void; }[]; export declare const PersistentUtilityContent: () => import("react/jsx-runtime").JSX.Element; export declare const CaseViewMock: ({ caseId: caseIdProp, icon, heading, subheading, parentCases, promotedActions, summaryFields, tabs, stages, tasks, taskCount, utilitiesExpanded: utilitiesExpandedProp, predictions, attachments, stakeholders, casehierarchy, followers, tags, persistentUtility, intelligentGuidance, banner, headingLength, defaultExpanded, hideStakeholdersAddNew, additionalActions, enableGenAICoach, showGenAICoachErrorMessage, showUtilityNotification, showPersistentUtilityExpand }: CaseViewMockProps) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=CaseView.mocks.d.ts.map