import { AuthProvider } from '@bounded-sh/core'; import { Transaction, VersionedTransaction } from '@solana/web3.js'; /** * Server-side OffchainAuthProvider wrapper for the poofnet environment. * * Poofnet onchain writes are signed like mainnet ones - the worker verifies the * signature on an unsendable approval message before committing - so signing * goes straight to the wrapped keypair. Only a raw submit, which needs a real * cluster, is refused. */ export declare class OffchainAuthProvider implements AuthProvider { private wrappedProvider; constructor(wrappedProvider: AuthProvider); login(): Promise; logout(): Promise; restoreSession(): Promise; getNativeMethods(): Promise; signMessage(message: string): Promise; signTransaction(transaction: Transaction | VersionedTransaction): Promise; /** * Sign and submit transaction - not supported in poofnet environment. * See the real providers (PhantomWalletProvider, PrivyWalletProvider, SolanaKeypairProvider) * for the full implementation with blockhash handling and feePayer support. */ signAndSubmitTransaction(_transaction: Transaction | VersionedTransaction, _feePayer?: any): Promise; }