import React$1, { RefObject } from "react"; import { JBTimePickerValueObject, JBTimePickerValueObject as JBTimePickerValueObject$1, JBTimePickerWebComponent, JBTimePickerWebComponent as JBTimePickerWebComponent$1, TimeUnits, TimeUnits as TimeUnits$1 } from "jb-time-picker"; import { JBElementStandardProps } from "jb-core/react"; import { EventTypeWithTarget } from "jb-core"; //#region modules/jb-time-picker/react/lib/attributes-hook.d.ts type JBTimePickerAttributes = { value?: JBTimePickerValueObject$1 | string | null; secondEnabled?: boolean; leadingZero?: boolean; optionalUnits?: TimeUnits$1[] | null; showPersianNumber?: boolean; textWidth?: number | null; }; export declare function useJBTimePickerAttribute(element: RefObject, props: JBTimePickerAttributes): void; //#endregion //#region modules/jb-time-picker/react/lib/events-hook.d.ts type JBTimePickerEventType = EventTypeWithTarget; type EventProps = { /** * when component loaded, in most cases component is already loaded before react mount so you dont need this but if you load web-component dynamically with lazy load it will be called after react mount */ onLoad?: (e: JBTimePickerEventType) => void; /** * when all property set and ready to use, in most cases component is already loaded before react mount so you dont need this but if you load web-component dynamically with lazy load it will be called after react mount */ onInit?: (e: JBTimePickerEventType) => void; onChange?: (e: JBTimePickerEventType) => void; }; export declare function useEvents(element: RefObject, props: EventProps): void; //#endregion //#region modules/jb-time-picker/react/lib/module-declaration.d.ts declare module "react" { namespace JSX { interface IntrinsicElements { "jb-time-picker": JBTimePickerType; } interface JBTimePickerType extends React.DetailedHTMLProps, JBTimePickerWebComponent$1> { "value"?: string; "second-enabled"?: string; "leading-zero"?: string; "optional-units"?: string; "show-persian-number"?: string; "text-width"?: string; } } } //#endregion //#region modules/jb-time-picker/react/lib/JBTimePicker.d.ts declare const JBTimePicker: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; export type Props = EventProps & JBTimePickerAttributes & JBElementStandardProps; //#endregion export { type EventProps, JBTimePicker, type JBTimePickerAttributes, type JBTimePickerEventType, type JBTimePickerValueObject, type JBTimePickerWebComponent, type TimeUnits };