import { AnchorProvider } from "@coral-xyz/anchor"; import { PublicKey } from "@solana/web3.js"; import { BondingHierarchy, ISwapArgs } from "@strata-foundation/spl-token-bonding"; import { ISwapFormProps } from "../components/Swap/SwapForm"; export interface ISwapDriverArgs extends Pick { id: PublicKey | undefined; tradingMints: { base?: PublicKey; target?: PublicKey; }; onTradingMintsChange(mints: { base: PublicKey; target: PublicKey; }): void; swap(args: ISwapArgs & { ticker: string; }): void; } export declare function getMissingSpace(provider: AnchorProvider | undefined, hierarchy: BondingHierarchy | undefined, baseMint: PublicKey | undefined, targetMint: PublicKey | undefined): Promise; export declare const useSwapDriver: ({ onConnectWallet, id, tradingMints, onTradingMintsChange, swap, extraTransactionInfo, }: ISwapDriverArgs) => Omit & { loading: boolean; }; //# sourceMappingURL=useSwapDriver.d.ts.map