aboutsummaryrefslogtreecommitdiff
path: root/src/external/stellar-freighter-api/@shared/api/helpers
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-12-27 16:29:28 +0200
committerkaotisk <kaotisk@arching-kaos.org>2023-12-27 16:29:28 +0200
commit1904a913b84e01e902173e782ab45e0e3b4ccf8d (patch)
tree016cd489ec4b3c6b905a9d0d837bcafe8daeb8a6 /src/external/stellar-freighter-api/@shared/api/helpers
parent34b89f42c737955e510ba058a126b33cba6d2bb6 (diff)
downloadarching-kaos-web-ui-1904a913b84e01e902173e782ab45e0e3b4ccf8d.tar.gz
arching-kaos-web-ui-1904a913b84e01e902173e782ab45e0e3b4ccf8d.tar.bz2
arching-kaos-web-ui-1904a913b84e01e902173e782ab45e0e3b4ccf8d.zip
Use only local libraries
Diffstat (limited to 'src/external/stellar-freighter-api/@shared/api/helpers')
-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 {};