    createNewTransaction: (transaction: TransactionInput) => Promise<void>
    deleteTransaction: (id: number) => Promise<void>
}

const TransactionsContext = createContext<TransactionsContextData>({} as TransactionsContextData);

export function TransactionsProvider ({children}: TransactionsProviderProps) { 
