import { ikasAdminGraphQLAPIClient } from './admin-client'; /** Lightweight stand-in for the axios response shape (`.status` / `.data`). */ export type RestResponse = { status: number; data: T; }; type CommonOptions = { storeName: string; [p: string]: string; }; export type UploadImageRequest = { productImage?: { variantIds: string[]; order: number; isMain?: boolean; base64?: string; url?: string; }; categoryImage?: { categoryIds: string[]; base64?: string; url?: string; }; brandImage?: { brandIds: string[]; base64?: string; url?: string; }; }; export declare class AdminRestAPI { accessToken: string; apiVersion: string; static getRestUrl(options: CommonOptions): string; constructor(client: ikasAdminGraphQLAPIClient); private post; uploadImage(request: UploadImageRequest, options: CommonOptions): Promise>; } export {};