import { HistoryTransaction } from "@0xsquid/react-hooks";
type HeaderElement = {
    type: "header";
    element: {
        month: string;
    };
};
type TransactionElement = {
    type: "tx";
    element: HistoryTransaction;
};
export type TransactionOrHeader = HeaderElement | TransactionElement;
/**
 * Hook to organize transactions by month with headers
 * @param transactions Array of transaction objects that have a timestamp property
 * @returns Array of transaction and header elements organized by month
 */
export declare function useTransactionHistory(transactions: HistoryTransaction[]): TransactionOrHeader[];
export {};
