import { type WebContents } from 'electron'; import { type IpcScope } from "../../../constants/ipc"; import { type ChannelConfigToWebSink } from "../../../utils/observable"; import { Obj } from '@cycle-mega-driver/common/lib'; export declare function createIpcScope(scope: IpcScope): IpcScope; /** * isolate source */ export declare function matchIpcScope(webContents: WebContents, scope?: IpcScope): boolean; /** * isolate sink */ export declare function attachIpcSinkScope(sink: ChannelConfigToWebSink, scope?: IpcScope): ChannelConfigToWebSink; /** * match ipc sink affected webContents */ export declare function matchIpcSink(webContents: WebContents, sink: ChannelConfigToWebSink): boolean;