import { KeyboardEvent, MouseEvent, ReactNode } from 'react'; import { Node } from '@lattice-php/core/types'; export type RowTriggerState = { clickable: boolean; href: string | null; processing: boolean; onAuxClick?: (event: MouseEvent) => void; onClick?: (event: MouseEvent) => void; onKeyDown?: (event: KeyboardEvent) => void; }; /** * A row's click behavior, resolved from the `rowClick` node the server put on * the row: the hooks live here because a row is rendered inside a `.map()`. * An action row leans on `ActionTrigger`, so confirmation, action forms, and * effects behave exactly as they do on an action button. */ export declare function RowTrigger({ children, click, }: { children: (state: RowTriggerState) => ReactNode; click: Node<"table.row-click"> | null; }): ReactNode;