import { type TypedDocumentNode } from '@apollo/client'; import type { CaseHistorySortOrder, ICaseHistoryItem, IGetCaseHistoryData, IGetCaseHistoryVars } from '../models/caseHistory'; /** * OldValue/NewValue use inline fragments with aliased fields (e.g. `stringValue: value`). * These aliases produce the property names that `extractStringValue` checks against. * Changing an alias here without updating `extractStringValue` will silently break * value extraction. * * Supported value types (members of the RedHat_Support_AnyType union): * - RedHatSupportStringValue → stringValue * - RedHatSupportBooleanValue → booleanValue * - RedHatSupportDoubleValue → doubleValue * - RedHatSupportDateTimeValue → dateTimeValue * * `first` defaults to 2000 — a practical cap that covers all observed real-world case * histories while staying well within the SF API limit. */ export declare const GET_CASE_HISTORY: TypedDocumentNode; interface UseCaseHistoryResult { historyItems: ICaseHistoryItem[]; loading: boolean; error: Error | undefined; } export declare function useCaseHistory(caseId: string | undefined, isViewerInternal?: boolean, sortOrder?: CaseHistorySortOrder, first?: number): UseCaseHistoryResult; export {}; //# sourceMappingURL=useCaseHistory.d.ts.map