import { AxiosRequestConfig } from 'axios';

export interface S3BaseParams {
  url: string;
  region?: string;
  options?: AxiosRequestConfig;
}

export interface S3GetParams extends S3BaseParams {
  fileName?: string;
}

export interface S3PutParams extends Omit<S3BaseParams, 'url'> {
  file?: File;
  path: string;
  orgId?: string;
  bucket?: string;
  contentType?: string;
}

export interface FetchFileReturnedValue {
  file: Blob;
  presignedUrl: string;
}
