adnbn
Version: 
Addon Bone - Cross-browser web extension framework with shared code base
20 lines (17 loc) • 715 B
TypeScript
import { PopupDefinition } from '../types/popup.js';
import { R as ManifestPopup } from '../manifest-DAV18Z2K.js';
import '../types/view.js';
import 'react';
import 'utility-types';
import 'html-rspack-tags-plugin';
import '../types/helpers.js';
import '../types/app.js';
import '../types/browser.js';
import '../types/locale.js';
type Tab = chrome.tabs.Tab;
type PopupAlias = string;
type PopupMap = Map<PopupAlias, ManifestPopup>;
declare const definePopup: (options: PopupDefinition) => PopupDefinition;
declare const getPopups: () => PopupMap;
declare const changePopup: (alias: PopupAlias, tab?: number | Tab) => Promise<void>;
export { type PopupAlias, type PopupMap, changePopup, definePopup, getPopups };