import type { RefObject } from 'react'; import type { AssignmentProps, CaseListProps, HierarchicalAssignmentProps } from './HierarchicalAssignments.types'; export interface AssignmentNodes { assignments?: AssignmentProps[]; childCases?: CaseListProps[]; } type Node = AssignmentProps | CaseListProps | undefined; export declare const initialDepth = 1; export declare const maxDepth = 6; export declare const restrictDepth: (depth: number) => number; export declare const isAssignment: (assignment: AssignmentProps | CaseListProps) => assignment is AssignmentProps; export declare const isExpandedNode: (expandedList: string[], id: string) => boolean; export declare const getNode: (nodes: AssignmentNodes, id: string) => Node; export declare const getParentNode: (nodes: AssignmentNodes, id: string, parentItem?: CaseListProps) => Node; export declare const getFirstChildNode: (nodes: AssignmentNodes, id: string, expanded: string[]) => Node; export declare const getCombinedAdjacentIndex: (combinedNodes: (AssignmentProps | CaseListProps)[], id: string) => number; export declare const getAdjacentNode: (nodes: AssignmentNodes, id: string) => AssignmentProps | CaseListProps; export declare const getNextNode: ({ assignments, childCases }: AssignmentNodes, id: string, expanded: string[]) => AssignmentProps | CaseListProps; export declare const getDeepestNode: ({ assignments, childCases }: AssignmentNodes, id: string, expanded: string[]) => Node; export declare const getPreviousNode: ({ assignments, childCases }: AssignmentNodes, id: string, expanded: string[]) => Node; export declare const scrollChildIntoView: (parentRef?: RefObject, childRef?: RefObject) => void; export declare const getCaseIdsWithChildren: (childCases?: HierarchicalAssignmentProps["childCases"]) => string[]; export {}; //# sourceMappingURL=helpers.d.ts.map