import type { MutableRefObject, RefObject } from 'react'; import type { CaseListProps, AssignmentProps } from './HierarchicalAssignments.types'; type Id = CaseListProps['id'] | AssignmentProps['id']; export interface AssignmentContextProps { /** First Element's Assignment or Case Id in the list */ firstNodeId?: Id; /** Last Element's Assignment or Case Id in the list */ lastNodeId?: Id; /** Current Focused Element's Id */ focusedNodeId?: Id; /** Callback to change the focus */ changeFocusHandler: (id: Id, key?: string, caseIdExpandList?: CaseListProps['id'][]) => void; /** Array of Expanded Case Id's List */ caseIdExpandList: CaseListProps['id'][]; /** Boolean that refers component's breakpoint. */ isMediumOrAbove?: boolean; /** Root Tree Ref */ parentRef?: RefObject; /** State maintains key navigation switched to Forms mode. */ nodeInternalFocus?: boolean; /** Function to update nodeInternalFocus state. */ setNodeInternalFocusHandler?: (value: boolean) => void; /** Mutable Ref, tracks the reverse tab flow order in Forms mode. */ reverseTabFlow: MutableRefObject; } declare const AssignmentContext: import("react").Context; export default AssignmentContext; //# sourceMappingURL=AssignmentContext.d.ts.map