import type { ReactNode } from "react"; import type { ActionButtonRendererProps } from "@itwin/components-react"; import type { IPresentationPropertyDataProvider } from "@itwin/presentation-components"; /** @public */ type PropertyGridActionButtonRendererProps = ActionButtonRendererProps & { /** Data provider used by the property grid. */ dataProvider: IPresentationPropertyDataProvider; }; /** * Action button with extended properties * @public */ export type PropertyGridActionButtonRenderer = (props: PropertyGridActionButtonRendererProps) => ReactNode; interface UseActionButtonsProps { actionButtonRenderers?: Array; dataProvider: IPresentationPropertyDataProvider; } /** * Custom hook for getting action buttons with extended properties. * @internal */ export declare function useActionButtons({ dataProvider, actionButtonRenderers }: UseActionButtonsProps): (({ property, isPropertyHovered }: ActionButtonRendererProps) => ReactNode)[] | undefined; export {}; //# sourceMappingURL=UseActionButtons.d.ts.map