import { SavedFilter, SavedFiltersAlertText } from '../types';
type EditSavedFiltersDrawerProps = {
    open: boolean;
    onClose: () => void;
    savedFilters: SavedFilter[];
    /** Drilldown's "Update Filter" action. May return a promise. */
    onUpdate?: (id: string, update: {
        name: string;
        filters: SavedFilter["filters"];
    }) => void | Promise<void>;
    /** Drilldown's "Delete Filter" action. May return a promise. */
    onDelete?: (id: string) => void | Promise<void>;
    /**
     * Optional drag-to-reorder callback. When provided, the list view renders
     * each row as a `DndSort.Card` with a drag handle and emits the new
     * `orderedIds` after a drop. When omitted, the list renders as a static
     * stack with no handles.
     */
    onReorder?: (orderedIds: string[]) => void | Promise<void>;
    /**
     * Optional validator for the name field in the drilldown. The `currentId`
     * is set to the preset being edited so the consumer can permit the row's
     * own name in uniqueness checks.
     */
    validateName?: (name: string, currentId?: string) => string | undefined;
    /** Optional override for the auto-managed alert text. */
    alertText?: SavedFiltersAlertText;
};
/**
 * Drawer that lets the user manage existing saved filters. Composed of two
 * views — a list of presets (the Drawer host) and a per-preset edit screen
 * (a `DrillDown` child) that reuses the FilterBar adapter `renderDrawer`
 * machinery to render edit fields. Navigation between the two is driven by
 * `useDrillDown`, which also wires the back-button affordance built into
 * `DrillDown.Header`.
 */
export declare const EditSavedFiltersDrawer: ({ open, onClose, savedFilters, onUpdate, onDelete, onReorder, validateName, alertText, }: EditSavedFiltersDrawerProps) => import("react/jsx-runtime").JSX.Element;
export {};
