import { Extension, IServiceCall } from "@chaosinsight/portalclient"; import type { IEndpointResult, IIdentifier, IPortalResponse } from "../index"; export default class EZFile extends Extension { protected readonly extensionName = "EZFile"; createPost(assetId: string, fileName: string, originalFileName: string, folderPath: string, formatId: string, parentId: string): IServiceCall>; setPost(id: string, name: string): IServiceCall>; deletePost(id: string): IServiceCall>; uploadPost(assetId: string, file: File): IServiceCall>; } declare module "@chaosinsight/portalclient" { interface ExtensionHandler { ezFile: EZFile; } }