///
declare const _default: {
register: ({ strapi }: {
strapi: import("@strapi/types/dist/core").Strapi;
}) => void;
bootstrap: ({ strapi }: {
strapi: import("@strapi/types/dist/core").Strapi;
}) => Promise;
destroy: ({ strapi }: {
strapi: import("@strapi/types/dist/core").Strapi;
}) => void;
config: {
default: {
engine: string;
};
validator(config: unknown): void;
};
controllers: {
contentManager: ({ strapi }: import("./@types").StrapiContext) => {
getProducts(ctx: import("./@types/koa").RequestContext): Promise;
};
admin: ({ strapi }: import("./@types").StrapiContext) => {
getConfig(ctx: import("./@types/koa").RequestContext): Promise;
updateConfig(ctx: import("./@types/koa").RequestContext): Promise;
};
};
routes: {
admin: {
type: string;
routes: (import("./routes/types").StrapiRoute<"admin"> | import("./routes/types").StrapiRoute<"contentManager">)[];
};
};
services: {
products: ({ strapi }: import("./@types").StrapiContext) => import("./services/@types").ProductService;
cache: ({ strapi }: import("./@types").StrapiContext) => {
get: (key: string) => Promise;
set: (key: string, value: T_1) => Promise;
has: (key: string) => Promise;
};
bigcommerce: ({ strapi }: import("./@types").StrapiContext) => {
getGQLClient(): {
searchProductsByName: (nameFragment: string) => Promise[]>;
};
getRestClient(): {
fetchProductsByIds: (ids: number[]) => Promise;
};
};
admin: ({ strapi }: import("./@types").StrapiContext) => {
getStore(): {
get(params?: Partial<{
key: string;
type?: string;
environment?: string;
name?: string;
tag?: string;
}>): Promise;
set(params?: Partial<{
key: string;
value: unknown;
type?: string;
environment?: string;
name?: string;
tag?: string; /**
* Plugin server methods
*/
}>): Promise;
delete(params?: Partial<{
key: string;
type?: string;
environment?: string;
name?: string;
tag?: string;
}>): Promise;
};
getConfig(): Promise<{
clientId?: string;
clientSecret?: string;
accessToken?: string;
storeHash?: string;
channelId?: number[];
allowedCorsOrigins?: string[];
addressStore?: string;
encryptionKey?: string;
}>;
updateConfig(config: {
clientId?: string;
clientSecret?: string;
accessToken?: string;
storeHash?: string;
channelId?: number[];
allowedCorsOrigins?: string[];
addressStore?: string;
encryptionKey?: string;
}): Promise<{
clientId?: string;
clientSecret?: string;
accessToken?: string;
storeHash?: string;
channelId?: number[];
allowedCorsOrigins?: string[];
addressStore?: string;
encryptionKey?: string;
}>;
};
};
};
export default _default;