import * as react_jsx_runtime from 'react/jsx-runtime'; import React__default from 'react'; interface CategoryChild { id: string; name: string; icon?: React__default.ReactNode; } interface CategoryItem { id: string; name: string; icon?: React__default.ReactNode; subCategories?: CategoryChild[]; } interface CategoryEditDialogProps { open: boolean; onOpenChange: (open: boolean) => void; /** Transaction description shown as subtitle in the dialog header */ transactionDescription?: string; /** Currently assigned category ID — pre-selects and auto-expands the matching parent */ currentCategoryId?: string; /** Full category tree to display */ categories: CategoryItem[]; /** Called on Save — receives the chosen category ID and the "apply to future" toggle state */ onSave: (categoryId: string, applyToFuture: boolean) => void; } declare function CategoryEditDialog({ open, onOpenChange, transactionDescription, currentCategoryId, categories, onSave, }: CategoryEditDialogProps): react_jsx_runtime.JSX.Element; export { type CategoryChild, CategoryEditDialog, type CategoryEditDialogProps, type CategoryItem };