import { EXTERNAL_SERVICE_TYPES, SERVICE_TYPES } from "../../constants/services"; import { Response } from "../types"; type Msg = { [key: string]: any; activePublicKey: string | null; type: SERVICE_TYPES; } | { [key: string]: any; type: EXTERNAL_SERVICE_TYPES; }; export declare const sendMessageToContentScript: (msg: Msg) => Promise; export declare const sendMessageToBackground: (msg: Msg) => Promise; export declare const FreighterApiNodeError: { code: number; message: string; }; export declare const FreighterApiInternalError: { code: number; message: string; }; export declare const FreighterApiDeclinedError: { code: number; message: string; }; export {};