import { Service } from "../serviceSDK"; export interface UploadFileRequest { uploadFile: File; path: string; parentId?: string; parentType?: string; } export interface UploadFileResponse { fileName: string; filePath: string; fileSize: number; } export declare class FileServiceSerVice extends Service { constructor(endpoint: string, orgId: string, storeId: string); /** * Upload file to the file service * @param uploadFile - File object to upload * @param path - Directory path to save the file * @param parentId - Reference ID of parent object (optional) * @param parentType - Type of parent object reference (optional) * @returns Promise */ uploadFile(uploadFile: File, path: string, parentId?: string, parentType?: string): Promise; /** * Upload image file (convenience method) * @param imageFile - Image file to upload * @param path - Directory path to save the image (default: "public") * @param parentId - Reference ID of parent object (optional) * @param parentType - Type of parent object reference (optional) * @returns Promise */ uploadImage(imageFile: File, path?: string, parentId?: string, parentType?: string): Promise; getImage(parentId: string, parenttype: string): Promise; }