import { ConfigItem, ConfigItemList } from '~/domain/models/autoLabeling/config' export interface ConfigTestResponse { valid: boolean, labels: object[] } export interface ConfigRepository { list(projectId: string): Promise create(projectId: string, item: ConfigItem): Promise delete(projectId: string, itemId: number): Promise update(projectId: string, item: ConfigItem): Promise testParameters(projectId: string, item: ConfigItem, text: string): Promise testTemplate(projectId: string, response: any, item: ConfigItem): Promise testMapping(projectId: string, item: ConfigItem, response: any): Promise }