import type { FilterDTO } from "../domain/index.js"; import type { CreateFilterPayload, UpdateFilterPayload } from "../../../components/AdvancedSearch/gateways/filters.types.js"; export interface FiltersGatewayInterface { list: (namespace: string) => Promise; get: (id: string) => Promise; create: (filter: CreateFilterPayload) => Promise; update: (filter: UpdateFilterPayload) => Promise; delete: (id: string) => Promise; }