import type * as React from 'react'; type WithReactChildren = Omit & { children?: React.ReactNode; }; type ReactHTMLProps = Omit, 'children'>; type GdsComponentProps = WithReactChildren> & ReactHTMLProps & React.RefAttributes; /** * Get a React 19 compatible component from a GDS component * * @example * ```tsx * import { getReactComponent } from '@sebgroup/green-core/utils/react' * import type { GdsButton as GdsButtonType } from '@sebgroup/green-core/components/button/index.js' * import '@sebgroup/green-core/components/button/index.js' * * const GdsButton = getReactComponent('gds-button') * * // Now you can use as a React component with correct typings * ``` */ export declare function getReactComponent(tagName: string): React.ComponentType>; /** * Hook to implement controlled component behavior for form controls with a value property */ export declare function useControlledValue(elementRef: React.RefObject, value: any, defaultValue: any, onChange?: (event: any) => void, onInput?: (event: any) => void): void; /** * Hook to implement controlled component behavior for checkbox form controls with a checked property */ export declare function useControlledChecked(elementRef: React.RefObject, checked: boolean | undefined, defaultChecked: boolean | undefined, onChange?: (event: any) => void, onInput?: (event: any) => void): void; export {};