import { GetListResponse } from '@dvn/core/api/dto/list';
import { Product } from '../models/product';
import { Workspace } from '../models/workspace';
import { WorkspaceOwnership } from '../models/workspace-ownership';
export declare class DevingenApi {
  private api;
  constructor(endpoint: string, defaultHeaders?: object);
  createWorkspace: (name: string) => Promise<Workspace>;
  getWorkspaceOwnerships: () => Promise<GetListResponse<WorkspaceOwnership>>;
  createProduct: (name: string, workspaceId: string, type: string) => Promise<Workspace>;
  getProducts: () => Promise<GetListResponse<Product>>;
  getProduct: (id: string) => Promise<Product>;
}
