export type CustomComponentType =
  | 'ApiCheckbox'
  | 'ApiRadio'
  | 'ApiSelect'
  | 'ApiTreeSelect';

export type ApiConfig = {
  method: string;
  params: PropType<object>;
  result: string;
  type: 'api' | 'dict' | 'enum' | 'none';
  url: PropType<(arg?: any) => Promise<BasicOptionResult[]> | string>;
};
