import { IElectronSignaturesProps, IElectronSignaturesItem, IQunjProps, IElectronSignaturesItemPublic } from '../interface'; interface IOptions { /** * 是否开启非受控模式 * 非受控模式开启后,数值的改变交由内部控制。外部只需要在合适的时机 获取数据即可 */ isUnControlled?: IElectronSignaturesProps['isUnControlled']; /** * 触发外部onChange事件 */ onValueChange?: IElectronSignaturesItem['onValueChange']; /** * 当前数据类型 */ dataType?: IElectronSignaturesItem['dataType']; /** * 当前选中的群杰物理章相关数据 */ qunjSeal?: IElectronSignaturesItem['qunjSeal']; /** * 当前选中的群杰印章盖章地址 */ qunjAddress?: IElectronSignaturesItem['qunjAddress']; /** * 部门id */ deptId?: IElectronSignaturesItem['deptId']; /** * 流程id */ flowId?: IElectronSignaturesItem['flowId']; /** * 需要显示合同份数的流程id列表 * 群杰物理章那里 是否需要计算每个印章的用印次数 不能大于合同总份数的 多少倍 */ contractNumFlowIds?: IElectronSignaturesProps['contractNumFlowIds']; /** 默认是否勾选群杰印章-用印申请 */ isDefaultQunj?: IElectronSignaturesItem['isDefaultQunj']; isSingleQj?: IElectronSignaturesItemPublic['isSingleQj']; } export default function useParseQunjListData(options: IOptions): { currentQunjSeal: IQunjProps; onQunjSealChange: (info: IQunjProps) => void; /** 当前是否显示合同份数 */ isContranctNum: boolean; qunjChecked: boolean; setQunjChecked: (checked: boolean) => void; currentQunjAddress: any; onQunjAddressChange: (info: any, option?: any) => void; }; /** * 用印次数是否合理 * 返回 true 合理 返回false 不合理 */ export declare function countIsValidate(qunjSeal: IQunjProps, isAlert?: boolean): boolean; export {};