import { QueryResponse, UpdateResponse } from '@dvn/core/api';
import { CreateResponse } from '@dvn/core/api/dto/create';
import { Bucket } from '../models/bucket';
import { GetListResponse } from '@dvn/core/api/dto/list';
export declare class SepetApi {
  private api;
  constructor(endpoint: string, defaultHeaders?: object, defaultQueryParams?: object);
  createBucket: (data: Partial<Bucket>) => Promise<CreateResponse>;
  getBuckets: () => Promise<QueryResponse>;
  getBucket: (id: string) => Promise<Bucket>;
  getBucketVersionList: (id: string) => Promise<GetListResponse<string>>;
  updateBucket: (id: string, data: Partial<Bucket>) => Promise<UpdateResponse>;
  deleteBucket: (id: string) => Promise<unknown>;
  uploadFile: (domain: string, path: string, data: string | Blob) => Promise<any>;
  getFileList: (domain: string, path: string, version: string) => Promise<GetListResponse<string>>;
  deleteFileOrFolder: (domain: string, path: string) => Promise<unknown>;
}
