From 1904a913b84e01e902173e782ab45e0e3b4ccf8d Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 27 Dec 2023 16:29:28 +0200 Subject: Use only local libraries --- .../@shared/api/external.d.ts | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/external/stellar-freighter-api/@shared/api/external.d.ts (limited to 'src/external/stellar-freighter-api/@shared/api/external.d.ts') diff --git a/src/external/stellar-freighter-api/@shared/api/external.d.ts b/src/external/stellar-freighter-api/@shared/api/external.d.ts new file mode 100644 index 0000000..9755ca4 --- /dev/null +++ b/src/external/stellar-freighter-api/@shared/api/external.d.ts @@ -0,0 +1,24 @@ +import { UserInfo } from "./types"; +export declare const requestPublicKey: () => Promise; +export declare const submitTransaction: (transactionXdr: string, opts?: string | { + network?: string | undefined; + accountToSign?: string | undefined; + networkPassphrase?: string | undefined; +} | undefined, accountToSign?: string | undefined) => Promise; +export declare const submitBlob: (blob: string, opts?: { + accountToSign?: string | undefined; +} | undefined) => Promise; +export declare const submitAuthEntry: (entryXdr: string, opts?: { + accountToSign?: string | undefined; +} | undefined) => Promise; +export declare const requestNetwork: () => Promise; +export declare const requestNetworkDetails: () => Promise<{ + network: string; + networkUrl: string; + networkPassphrase: string; + sorobanRpcUrl?: string | undefined; +}>; +export declare const requestConnectionStatus: () => Promise; +export declare const requestAllowedStatus: () => Promise; +export declare const setAllowedStatus: () => Promise; +export declare const requestUserInfo: () => Promise; -- cgit v1.2.3