import "./FilterNameDialog.css"; export type FilterNameDialogProps = { open: boolean; /** Pre-fills the field, e.g. with the current filter's name. */ defaultName?: string; /** Names already in use; entering one asks the user to confirm the overwrite. */ existingNames?: string[]; onCancel: () => void; onSubmit: (name: string) => void; "data-size"?: "sm" | "md" | "lg"; }; /** * Asks for the name to save a filter under. * * Reusing an existing name overwrites that filter, so the dialog warns before * submitting rather than silently creating a second filter with the same name. */ export declare function FilterNameDialog({ open, defaultName, existingNames, onCancel, onSubmit, "data-size": size, }: FilterNameDialogProps): import("react").JSX.Element;