import type { StrapiContext } from '../../@types'; import { type ShopifyShopConfig, type ShopifyShopWithId } from '../../validators/admin.validator'; import { Shop, ShopWithWebhooks } from '../validators'; type FindByWebhook = { $or: Array<{ callbackUrl?: { $null: true; }; shopifyId?: { $null: true; }; }>; }; type FindParams = { where?: Partial | { webhooks?: FindByWebhook; }; populate?: { webhooks?: H; }; }; type FindManyParams = FindParams & { page?: number; pageSize?: number; }; export declare const getShopsRepository: (strapi: StrapiContext['strapi']) => { create(data: ShopifyShopConfig): Promise<{ id?: number; createdAt?: string; updatedAt?: string; publishedAt?: string; vendor?: string; locale?: string[]; documentId?: string; address?: string; apiKey?: string; apiSecretKey?: string; adminApiAccessToken?: string; isActive?: boolean; }>; findOne(params: FindParams): Promise; findMany(params?: FindManyParams): Promise : Array>; remove(params: { where: Required['where']; }): Promise; update(where: FindParams['where'], data: ShopifyShopWithId): Promise<{ id?: number; createdAt?: string; updatedAt?: string; publishedAt?: string; vendor?: string; locale?: string[]; documentId?: string; address?: string; apiKey?: string; apiSecretKey?: string; adminApiAccessToken?: string; isActive?: boolean; }>; restore(): Promise; count(params: FindParams): Promise; }; export {};