import { Core } from '@strapi/strapi'; import { DraftWebhook, Webhook, WebhookWithShopId } from '../validators'; type FindParams = { where?: Partial | { shop: { id: number; }; }; }; export declare const getWebhookRepository: (strapi: Core.Strapi) => { findOne(params: Required): Promise<{ id?: number; topic?: import("../../@types/shopify").WebhookSubscriptionTopic.ProductsCreate | import("../../@types/shopify").WebhookSubscriptionTopic.ProductsDelete | import("../../@types/shopify").WebhookSubscriptionTopic.ProductsUpdate; format?: import("../../@types/shopify").WebhookSubscriptionFormat.Json; callbackUrl?: string; createdAt?: string; updatedAt?: string; publishedAt?: string; locale?: string; method?: string; service?: string; documentId?: string; shopifyId?: string; errors?: string[]; }>; create(isDraft: T, data: Webhook | WebhookWithShopId): Promise; update(where: FindParams['where'], data: Partial): Promise<{ id?: number; topic?: import("../../@types/shopify").WebhookSubscriptionTopic.ProductsCreate | import("../../@types/shopify").WebhookSubscriptionTopic.ProductsDelete | import("../../@types/shopify").WebhookSubscriptionTopic.ProductsUpdate; format?: import("../../@types/shopify").WebhookSubscriptionFormat.Json; callbackUrl?: string; createdAt?: string; updatedAt?: string; publishedAt?: string; locale?: string; method?: string; service?: string; documentId?: string; shopifyId?: string; errors?: string[]; }>; remove(params: Required): Promise; removeMany(params: { where: { id: { $in: number[]; }; }; }): Promise; findMany(params?: FindParams): Promise<{ id?: number; topic?: import("../../@types/shopify").WebhookSubscriptionTopic.ProductsCreate | import("../../@types/shopify").WebhookSubscriptionTopic.ProductsDelete | import("../../@types/shopify").WebhookSubscriptionTopic.ProductsUpdate; format?: import("../../@types/shopify").WebhookSubscriptionFormat.Json; callbackUrl?: string; createdAt?: string; updatedAt?: string; publishedAt?: string; locale?: string; method?: string; service?: string; documentId?: string; shopifyId?: string; errors?: string[]; }[]>; }; export {};