import { TransactionInput, TransactionData, TxStatus } from "./TxHandler";
export interface TxHandlerOutput {
    submit(id: string, input: TransactionInput): Promise<void>;
    clear(id: string): void;
    tx?: TransactionData;
    status: TxStatus;
}
export declare function useTxHandler(id: string): TxHandlerOutput;
