import { getFetchClient } from '@strapi/strapi/admin'; import { NewShopSchemaWithIdSchema, ServiceSchema, ShopProductSchema, ShopSchemaWithIdSchema } from '../validators/shop.validator'; export type ApiClient = ReturnType; export declare const getApiClient: (fetch: ReturnType) => { getIndexPrefix: () => string[]; readAll: () => Promise<{ id: string | number; address: string; vendor: string; apiSecretKey: string; adminApiAccessToken: string; documentId: string; isActive: boolean; createdAt: string; updatedAt: string; publishedAt: string; apiKey?: string | undefined; webhooks?: { topic: string; method?: string | null | undefined; service?: string | null | undefined; isPersisted?: boolean | undefined; }[] | undefined; locale?: string[] | null | undefined; }[]>; readAllIndex: () => string[]; createShop: (body: NewShopSchemaWithIdSchema) => Promise; getReadShopIndex: (id: number) => (string | number)[]; readShop: (id: number) => Promise; getReadVendorsIndex: () => string[]; readVendors: () => Promise>; getReadShopProductsIndex: ({ vendor, query }: { vendor: string; query: string; }) => string[]; readShopProducts: ({ vendor, query, }: { vendor: string; query: string; }) => Promise>; updateShop: (body: ShopSchemaWithIdSchema) => Promise; deleteShop: (body: ShopSchemaWithIdSchema) => Promise; readServicesIndex: () => string[]; readServices: () => Promise>; };