import { type ReactElement } from 'react';
import type { WorkflowActionDefinitionDto, WorkflowTriggerDto } from '@/services/api/communicationsApi';
/**
 * Left sidebar of the Workflow Builder. Lists every available trigger and action
 * in collapsible sections, with a search box that filters across all sections at once.
 *
 * Phase 1 (no drag): items are visual only. In Phase 4 each item becomes draggable
 * via @dnd-kit's `useDraggable` so the user can drop it onto the canvas.
 */
interface ActionPaletteSidebarProps {
    readonly triggers: readonly WorkflowTriggerDto[];
    readonly actions: readonly WorkflowActionDefinitionDto[];
    readonly loading: boolean;
    readonly error: string | null;
    readonly onItemClick?: (item: PaletteItem) => void;
}
export type PaletteItem = {
    readonly kind: 'trigger';
    readonly trigger: WorkflowTriggerDto;
} | {
    readonly kind: 'action';
    readonly action: WorkflowActionDefinitionDto;
};
export declare function ActionPaletteSidebar({ triggers, actions, loading, error, onItemClick }: ActionPaletteSidebarProps): ReactElement;
export {};
//# sourceMappingURL=ActionPaletteSidebar.d.ts.map