import React, { type RefObject } from 'react'; import 'jb-image-input'; import type { JBImageInputWebComponent, JBImageInputConfig, JBImageInputBridge } from 'jb-image-input'; import { type EventProps } from './events-hook.js'; import { type JBImageInputAttributes } from './attributes-hook.js'; import type { JBElementStandardProps } from 'jb-core/react'; export type { JBImageInputConfig, JBImageInputBridge }; declare module "react" { namespace JSX { interface IntrinsicElements { 'jb-image-input': JBImageInputType; } interface JBImageInputType extends React.DetailedHTMLProps>, JBImageInputWebComponent> { class?: string; label?: string; message?: string; name?: string; required?: string | boolean; } } } export declare function JBImageInput(props: Props, ref: any): React.JSX.Element; export declare namespace JBImageInput { var displayName: string; } type ImageInputProps = EventProps & JBImageInputAttributes & { uploadType?: string; ref?: RefObject>; }; export type Props = ImageInputProps & JBElementStandardProps>;