import { Type, TypeDraft, TypeUpdate } from '@commercetools/platform-sdk'; import { APIOpts, CustomTypeAPI } from '../types/api.type'; import { CommercetoolsBaseAPI } from './base-api'; export declare class CommercetoolsCustomTypeAPI extends CommercetoolsBaseAPI implements CustomTypeAPI { constructor(opts: APIOpts); getByKey(key: string): Promise; existsByKey(key: string): Promise; create(draft: TypeDraft): Promise; update(key: string, update: TypeUpdate): Promise; }