/** * ObjectUI * Copyright (c) 2024-present ObjectStack Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import * as React from 'react'; export type ViewType = 'grid' | 'kanban' | 'gallery' | 'calendar' | 'timeline' | 'gantt' | 'map' | 'chart' | 'tree'; export interface ViewSwitcherProps { currentView: ViewType; availableViews?: ViewType[]; onViewChange: (view: ViewType) => void; className?: string; /** Enable animated transitions between views (default: true) */ animated?: boolean; } /** * Compact dropdown form of the visualization switcher (Airtable-style): * a single "List ▾" button in the toolbar's right cluster that opens a * menu of the available visualizations. Replaces the full button row so * the toolbar stays one line tall. */ export declare const ViewSwitcherDropdown: React.FC; export declare const ViewSwitcher: React.FC; //# sourceMappingURL=ViewSwitcher.d.ts.map