UNPKG

smartshopping-sdk

Version:

Coupon autoapply SDK

15 lines (14 loc) 503 B
import { AdblockAndCookieOutput } from '../interfaces'; type BootstrapProps = { clientID: string; key: string; serverUrl?: string; }; export type BootstrapOutput = { install: () => Promise<void>; startEngine: (tabId: number) => Promise<void>; setCodes: (tabId: number, codes: string[]) => void; checkAdblockAndCookie: () => Promise<AdblockAndCookieOutput>; }; declare const bootstrap: ({ clientID, key, serverUrl, }: BootstrapProps) => BootstrapOutput; export { bootstrap };