type OptionItem = { label: string; value: string; }; type IRelationFetchOptions = { format: 'father-son' | 'related' | 'many-one' | 'one-one' | 'one-one-r'; viewId: string; dataSourceName: string; where: unknown; pageNo: number; primaryField: string; controlledValue: OptionItem[]; }; type IEnumFetchOptions = { format: 'x-enum'; enumName: string; controlledValue: OptionItem[]; }; export type IUseoptionsParams = (IRelationFetchOptions | IEnumFetchOptions | { format?: string; controlledValue: OptionItem[]; }) & { callWedaApi?: (params: any) => Promise | any; callDataSource?: (params: any) => Promise; }; export declare const PAGE_SIZE = 50; export declare const RequestOptionType: { ALL: number; SEARCH: number; EQUAL: number; }; export declare const requestFatherRelatedOption: (params: IUseoptionsParams, pageNo: number, type: number, searchValue?: string) => Promise<{ option: any[]; isLoadMore: boolean; }>; export declare const requestEnumOption: (params: IUseoptionsParams) => Promise<{ label: any; value: any; }[]>; export declare const transFormatTeaSelectKey: (options: any) => any; export {};