/**
 * Hook for managing sidebar editor state.
 * Provides state and handlers for opening/closing the sidebar editor.
 *
 * @template T - The type of item being edited (must have an id property)
 */
export declare function useSidebarEditor<T extends {
    id: string;
}>(): {
    selectedItem: T | null;
    openEditor: (item: T) => void;
    closeEditor: () => void;
    isOpen: boolean;
};
export default useSidebarEditor;
