import { ApiPath } from "@omnia/fx/models"; import { IApprovalTaskCustomViewRenderer } from "./ApprovalTaskCustomView"; export interface IApprovalTaskConfigurationApi { addCustomView: (items: IApprovalTaskCustomViewRenderer) => void; getView: () => IApprovalTaskCustomViewRenderer; } declare module "../../../apis/index" { interface IMSApi { approvalTaskCustomView: { registration: Promise; }; } interface IMSExtendApiManifest { approvalTaskCustomView: { use: ApiPath; registration: ApiPath; }; } }