UNPKG

@villagehq/extension-sdk

Version:

Village Chrome Extension SDK for Partner Integrations

27 lines (21 loc) 645 B
export declare interface ContentScriptConfig { [key: string]: unknown; } /** * Initialize the Village extension content script */ export declare function initContentScript(config?: ContentScriptConfig): boolean; /** * Initialize the Village extension service worker */ export declare function initServiceWorker(config?: ServiceWorkerConfig): boolean; export declare interface ServiceWorkerConfig { apiUrl: string; frontendUrl: string; } declare const Village: { initServiceWorker: typeof initServiceWorker; initContentScript: typeof initContentScript; }; export default Village; export { }