import { MemberParam } from '../../../types'; /** * Wrapper for a parameter which will be used in an editor. * @param param - an object which should contain next props: * { * userValue - value shown for the user * setUserValue - userValue setter defaults - default value isChanged - function shows whether value is changed or not * } * @param getServValue - if value should be converted (e.g. deg -> rad) pass this function, it will be called right before classCAD API call. * @param validation - Custom validation (used in useMateParam, useRefsParam. - these params has an array in userValue, so we need to apply validateF for each element from array). * @returns */ export declare function useParam(param: Omit, 'serverValue' | 'validator' | 'setValidator' | 'options'>, getServValue?: (x: T) => T, validation?: { validator: () => string[]; setValidator: (...args: any[]) => void; }, options?: { [key: string]: any; }): MemberParam;