import { RenderByFormKeyValueType } from "lowcode/_utils/conditionRenderService/type";
import { RelationType } from "../../_utils/treeDataRelationFn/type";
import { PactNameType } from "src/utils/pactList/type";
export interface RequestParamMappingDataType extends Partial<RenderByFormKeyValueType> {
    id: string;
    name?: string;
    type?: string | PactNameType;
    required?: number;
    disabled?: boolean;
    part?: 'header' | 'body';
    components?: RequestParamMappingDataType[];
    addable?: number;
    decimals?: number;
    inputType?: string;
    desc?: string;
    [key: string]: any;
}
export interface ApiInternalType {
    part: string;
    name: string;
    type: string;
    value: any;
    required: number;
    desc: string;
}
export interface TreeDataPropsType {
    value?: RequestParamMappingDataType[];
    field?: {
        extraProps: {
            maxAddNum: number;
            [key: string]: any;
        };
        [key: string]: any;
    };
    maxAddNum?: number;
    disabledInput?: boolean;
    [key: string]: any;
}
export interface RenderByFormKeyType {
    item: RequestParamMappingDataType;
    index: number;
    currentPageData: RelationType[];
    onInputChange: Function;
    onRelationChange: Function;
}
