import { type BuyWithCryptoStatus } from "@thirdweb-dev/sdk"; type ValidBuyWithCryptoStatus = Exclude; type SwapTxInfo = { transactionHash: string; status: ValidBuyWithCryptoStatus["status"]; subStatus?: ValidBuyWithCryptoStatus["subStatus"]; source: { symbol: string; value: string; chainId: number; }; destination: { symbol: string; value: string; chainId: number; }; }; export type Store = { getValue(): T; setValue(newValue: T): void; subscribe(listener: () => void): () => void; }; /** * Create a reactive value store * @param initialValue - The initial value to store * @example * ```ts * const store = createStore(0); * ``` * @returns A store object * @internal */ export declare function createStore(initialValue: T): Store; export declare const swapTransactionsStore: Store; /** * @internal */ export declare const addPendingSwapTransaction: (clientId: string, txInfo: SwapTxInfo) => void; export {}; //# sourceMappingURL=pendingSwapTx.d.ts.map