aboutsummaryrefslogtreecommitdiff
path: root/src/external/stellar-freighter-api/@shared/api/helpers/extensionMessaging.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/external/stellar-freighter-api/@shared/api/helpers/extensionMessaging.d.ts')
-rw-r--r--src/external/stellar-freighter-api/@shared/api/helpers/extensionMessaging.d.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/external/stellar-freighter-api/@shared/api/helpers/extensionMessaging.d.ts b/src/external/stellar-freighter-api/@shared/api/helpers/extensionMessaging.d.ts
new file mode 100644
index 0000000..1aed2d8
--- /dev/null
+++ b/src/external/stellar-freighter-api/@shared/api/helpers/extensionMessaging.d.ts
@@ -0,0 +1,9 @@
+import { EXTERNAL_SERVICE_TYPES, SERVICE_TYPES } from "../../constants/services";
+import { Response } from "../types";
+interface Msg {
+ [key: string]: any;
+ type: EXTERNAL_SERVICE_TYPES | SERVICE_TYPES;
+}
+export declare const sendMessageToContentScript: (msg: Msg) => Promise<Response>;
+export declare const sendMessageToBackground: (msg: Msg) => Promise<Response>;
+export {};