import { DataType } from './AttributeComparison'; interface ComparParamsType { originalData?: DataType; hodiernalData?: DataType; isCustomObject?: boolean; showReultTypeSelector?: boolean; } interface ComparData { code: string; name: string; type: string; relationCode?: string; key: string; error?: boolean; different?: boolean; beenCompared?: boolean; relationArray?: any[]; children?: any[]; } export interface ResultType { result: 'success' | 'fail'; msg: string; hasDifferent: boolean; hasRelation: boolean; } declare const useComparParams: (props: ComparParamsType) => { orginalOutParams: ComparData[] | undefined; orginalFilterParams: ComparData[] | undefined; hodiernalOutParams: ComparData[] | undefined; hodiernalFilterParams: ComparData[] | undefined; outParamsResult: ResultType | undefined; filterParamsResult: ResultType | undefined; loading: boolean; }; export default useComparParams;