import type { Endpoint } from 'comlink';
/**
 * create chrome runtime port endpoint(Long-lived connections)
 * https://developer.chrome.com/docs/extensions/mv3/messaging/#connect
 * @param port
 * @returns
 */
export declare function chromeRuntimePortEndpoint(port: chrome.runtime.Port): Endpoint;
/**
 * create chrome runtime message endpoint(Simple one-time requests)
 * https://developer.chrome.com/docs/extensions/mv3/messaging/#simple
 * @param options
 * @returns
 */
export declare function chromeRuntimeMessageEndpoint(options?: {
    tabId?: number;
    extensionId?: string;
}): Endpoint;
