import { IpcPool } from "@dweb-browser/core"; import { X_PLAOC_QUERY } from "../../common/const.js"; import { type $BuildRequestInit } from "../../helper/request.js"; import type { $BuildChannelWithBaseInit, $BuildRequestWithBaseInit, $MMID } from "./base.type.js"; export declare const webIpcPool: IpcPool; export declare abstract class BasePlugin { readonly mmid: $MMID; private static urlData; static api_url: string; static external_url: string; self: { mmid: `${string}.dweb`; ipc_support_protocols: { cbor: boolean; protobuf: boolean; json: boolean; }; dweb_deeplinks: never[]; categories: never[]; name: string; }; constructor(mmid: $MMID); fetchApi(url: string, init?: $BuildRequestInit): any; buildApiRequest(pathname: string, init?: $BuildRequestWithBaseInit): any; buildChannel(pathname: string, init?: $BuildChannelWithBaseInit): Promise; protected createSignal: any; /** * 获取指定的url * @param urlType * @returns */ static getUrl(urlType: X_PLAOC_QUERY): string; } //# sourceMappingURL=base.plugin.d.ts.map