import { type IObject } from '@newgrand/udp-core'; import { IMPSourceAndDataHelp } from './IMPSourceAndDataHelp'; import { IMPSourceHelp } from './IMPSourceHelp'; import { getIMPSourceHelpInfo, getPushMappingData } from './service'; interface IMPSourceHelpArgs { /** * @description schemephid */ schemephid?: string; /** * @description containerID */ tabSign?: string; /** * @description callback */ callback?: Function; /** * @description (sourceFilters[来源sourceid] ?? clientSqlFilter) || '' */ custom?: { clientSqlFilter?: string; data?: any; sourceFilters?: { [sourceid: string]: string; }; tableProps?: any; }; /** * @description filteritem */ filteritem?: any; /** * @description helphide */ helphide?: '0' | '1'; } /** * imp api * */ declare const $IMPEngine: { IMPSchemeHelp({ targetBuz, callback, parms, isPush, isMulti, beforeFunc, bindEvent, failureCallback }: { targetBuz: string; callback?: Function | undefined; parms?: IObject | undefined; isPush?: "0" | "1" | undefined; isMulti?: "0" | "1" | undefined; beforeFunc?: Function | undefined; bindEvent?: Function | undefined; failureCallback?: Function | undefined; }): Promise<[boolean, string]>; IMPGetSourceId({ schemephid, tabSign, custom, filteritem }: any): Promise; IMPSourceHelp({ schemephid, tabSign, callback, custom, filteritem, helphide }: IMPSourceHelpArgs): Promise; IMPSourceDataHelp({ schemephid, sourcephid, callback, custom }: any): Promise; IMPPull({ schemePhId, containerId, data }: { schemePhId: any; containerId: any; data: any; }): Promise<[boolean, any, any]>; IMPPush({ busType, params, formData }: { busType: string; params?: IObject | undefined; formData: IObject | string; }): Promise; getPushMappingData: typeof getPushMappingData; getIMPSourceHelpInfo: typeof getIMPSourceHelpInfo; /** * IMP穿透 * @param busCode 业务类型编码 * @param pkName 主键字段 * @param pkValue 主键值 * @param appTitle 当前单据标题 */ IMPPenetration({ busCode, pkName, pkValue, appTitle }: { busCode: string; pkName: string; pkValue: string; appTitle?: string | undefined; }): void; /** * IMP方案信息查看 * @param schemePhId 方案id */ IMPSchemeInfo({ schemePhId }: { schemePhId: string | number; }): Promise; IMPPushTaskHistory({ buscode, billid }: { buscode: any; billid: any; }): Promise; ImpCopySourceAttach({ attachConfig, sourceAttach, callback }: { attachConfig: any; sourceAttach: any; callback: any; }): Promise; }; export { $IMPEngine, IMPSourceHelp, getIMPSourceHelpInfo, IMPSourceAndDataHelp, IMPSourceHelpArgs };