/** * 定义vNode的类型 */ type VNodeTag = string; declare const EffectConstant: { NoEffect: number; DepsChange: number; LayoutEffect: number; Effect: number; }; type ValueOf = T[keyof T]; interface Hook { state: Reducer$2 | Effect | Memo | CallBack | MutableRef; hIndex: number; } interface Reducer$2 { stateValue: S | null; trigger: Trigger | null; reducer: ((S: any, A: any) => S) | null; updates: Array> | null; isUseState: boolean; } type Update = { action: A; didCalculated: boolean; state: S | null; }; type Effect = { effect: () => (() => void) | void; removeEffect: (() => void) | void; dependencies: Array | null; effectConstant: ValueOf; }; type Memo = { result: V | null; dependencies: Array | null; }; type CallBack = { func: F | null; dependencies: Array | null; }; type MutableRef = { current: V; }; export type RefObject = { readonly current: T | null; }; export type RefCallBack = { bivarianceHack(inst: T | null): void; }['bivarianceHack']; type Trigger = (state: A) => void; interface IObserver { useProp: (key: string) => void; addListener: (listener: () => void) => void; removeListener: (listener: () => void) => void; setProp: (key: string, mutation: any) => void; triggerChangeListeners: (mutation: any) => void; triggerUpdate: (vNode: any) => void; allChange: () => void; clearByVNode: (vNode: any) => void; } /** * 一个对象(对象、数组、集合)对应一个Observer */ declare class Observer implements IObserver { vNodeKeys: WeakMap; keyVNodes: Map; listeners: ((mutation: any) => void)[]; watchers: { [key: string]: ((key: string, oldValue: any, newValue: any, mutation: any) => void)[]; }; useProp(key: string | symbol): void; setProp(key: string | symbol, mutation: any): void; triggerUpdate(vNode: VNode): void; addListener(listener: (mutation: any) => void): void; removeListener(listener: (mutation: any) => void): void; triggerChangeListeners({ mutation, vNodes }: { mutation: any; vNodes: any; }): void; allChange(): void; clearByVNode(vNode: VNode): void; } declare class VNode { tag: VNodeTag; key: string | null; props: any; type: any; realNode: any; parent: VNode | null; child: VNode | null; next: VNode | null; cIndex: number; eIndex: number; ref: RefType | ((handle: any) => void) | null; oldProps: any; isCleared: boolean; changeList: any; effectList: any[] | null; updates: any[] | null; stateCallbacks: any[] | null; isForceUpdate: boolean; isSuspended: boolean; state: any; hooks: Array> | null; depContexts: Array> | null; isDepContextChange: boolean; dirtyNodes: Array | null; shouldUpdate: boolean; childShouldUpdate: boolean; task: any; context: any; isLazyComponent: boolean; lazyType: any; flags: number; clearChild: VNode | null; isCreated: boolean; oldHooks: Array> | null; oldState: any; oldRef: RefType | ((handle: any) => void) | null; oldChild: VNode | null; promiseResolve: boolean; devProps: any; suspenseState: SuspenseState | null; path: string; toUpdateNodes: Set | null; delegatedEvents: Set; isStoreChange: boolean; observers: Set | null; classComponentWillUnmount: ((vNode: VNode) => any) | null; src: Source | null; constructor(tag: VNodeTag, props: any, key: null | string, realNode: any); } type ProviderType = { vtype: number; _context: ContextType; }; type ContextType = { vtype: number; Consumer: ContextType | null; Provider: ProviderType | null; value: T; }; type RefType = { current: any; }; interface PromiseType { then(onFulfill: (value: R) => void | PromiseType | U, onReject: (error: any) => void | PromiseType | U): void | PromiseType; } interface SuspenseState { promiseSet: Set> | null; childStatus: string; oldChildStatus: string; didCapture: boolean; promiseResolved: boolean; } type Source = { fileName: string; lineNumber: number; }; type Callback$1 = () => void; /** * Component的api setState和forceUpdate在实例生成阶段实现 */ export interface Component

extends ComponentLifecycle { forceUpdate(callback?: () => void): void; render(): InulaNode; } export declare class Component

{ static contextType?: Context$1 | undefined; context: C | undefined; readonly props: Readonly

; state: Readonly; refs: { [key: string]: Component; }; constructor(props: P, context?: C); setState(state: ((prevState: Readonly, props: Readonly

) => Pick | S | null) | Pick | S | null, callback?: Callback$1): void; } /** * 支持PureComponent */ export declare class PureComponent extends Component { constructor(props: P, context: C); } type DomAnimationEvent = AnimationEvent; type DomClipboardEvent = ClipboardEvent; type DomCompositionEvent = CompositionEvent; type DomDragEvent = DragEvent; type DomFocusEvent = FocusEvent; type DomKeyboardEvent = KeyboardEvent; type DomMouseEvent = MouseEvent; type DomTouchEvent = TouchEvent; type DomPointerEvent = PointerEvent; type DomTransitionEvent = TransitionEvent; type DomUIEvent = UIEvent; type DomWheelEvent = WheelEvent; type Event_DomAnimationEvent = DomAnimationEvent; type Event_DomClipboardEvent = DomClipboardEvent; type Event_DomCompositionEvent = DomCompositionEvent; type Event_DomDragEvent = DomDragEvent; type Event_DomFocusEvent = DomFocusEvent; type Event_DomKeyboardEvent = DomKeyboardEvent; type Event_DomMouseEvent = DomMouseEvent; type Event_DomTouchEvent = DomTouchEvent; type Event_DomPointerEvent = DomPointerEvent; type Event_DomTransitionEvent = DomTransitionEvent; type Event_DomUIEvent = DomUIEvent; type Event_DomWheelEvent = DomWheelEvent; declare namespace Event { export type { Event_DomAnimationEvent as DomAnimationEvent, Event_DomClipboardEvent as DomClipboardEvent, Event_DomCompositionEvent as DomCompositionEvent, Event_DomDragEvent as DomDragEvent, Event_DomFocusEvent as DomFocusEvent, Event_DomKeyboardEvent as DomKeyboardEvent, Event_DomMouseEvent as DomMouseEvent, Event_DomTouchEvent as DomTouchEvent, Event_DomPointerEvent as DomPointerEvent, Event_DomTransitionEvent as DomTransitionEvent, Event_DomUIEvent as DomUIEvent, Event_DomWheelEvent as DomWheelEvent }; } type HTMLAttributeReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'; type HTMLAttributeAnchorTarget = '_self' | '_blank' | '_parent' | '_top' | (string & KVObject); type AriaRole = 'article' | 'cell' | 'columnheader' | 'definition' | 'directory' | 'document' | 'feed' | 'figure' | 'group' | 'heading' | 'img' | 'list' | 'listitem' | 'math' | 'none' | 'note' | 'presentation' | 'row' | 'rowgroup' | 'rowheader' | 'separator' | 'term' | 'alert' | 'alertdialog' | 'button' | 'checkbox' | 'dialog' | 'gridcell' | 'link' | 'log' | 'marquee' | 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'option' | 'progressbar' | 'radio' | 'scrollbar' | 'searchbox' | 'slider' | 'spinbutton' | 'status' | 'switch' | 'tab' | 'tabpanel' | 'textbox' | 'timer' | 'tooltip' | 'treeitem' | 'combobox' | 'grid' | 'listbox' | 'menu' | 'menubar' | 'radiogroup' | 'tablist' | 'tree' | 'treegrid' | 'application' | 'banner' | 'complementary' | 'contentinfo' | 'form' | 'main' | 'navigation' | 'region' | 'search' | 'status' | 'timer' | 'alertdialog' | 'dialog' | 'toolbar' | 'table' | (string & KVObject); interface InulaSVGProps extends SVGAttributes, ClassAttributes { } interface AudioHTMLAttributes extends MediaHTMLAttributes { } interface AnchorHTMLAttributes extends HTMLAttributes { download?: any; href?: string; hrefLang?: string; target?: HTMLAttributeAnchorTarget; media?: string; ping?: string; rel?: string; type?: string; referrerPolicy?: HTMLAttributeReferrerPolicy; } interface MediaHTMLAttributes extends HTMLAttributes { autoPlay?: boolean; controls?: boolean; controlsList?: string; loop?: boolean; muted?: boolean; src?: string; crossOrigin?: string; mediaGroup?: string; preload?: string; playsInline?: boolean; } interface MetaHTMLAttributes extends HTMLAttributes { charSet?: string; content?: string; httpEquiv?: string; name?: string; media?: string; } interface MeterHTMLAttributes extends HTMLAttributes { value?: string | ReadonlyArray | number; min?: number | string; max?: number | string; low?: number; high?: number; optimum?: number; form?: string; } interface QuoteHTMLAttributes extends HTMLAttributes { cite?: string; } interface ObjectHTMLAttributes extends HTMLAttributes { classID?: string; data?: string; type?: string; width?: number | string; height?: number | string; form?: string; name?: string; useMap?: string; wmode?: string; } interface OlHTMLAttributes extends HTMLAttributes { reversed?: boolean; start?: number; type?: '1' | 'a' | 'A' | 'i' | 'I'; } interface OptgroupHTMLAttributes extends HTMLAttributes { disabled?: boolean; label?: string; } interface OptionHTMLAttributes extends HTMLAttributes { disabled?: boolean; label?: string; selected?: boolean; value?: string | ReadonlyArray | number; } interface OutputHTMLAttributes extends HTMLAttributes { form?: string; htmlFor?: string; name?: string; } interface ParamHTMLAttributes extends HTMLAttributes { name?: string; value?: string | ReadonlyArray | number; } interface ProgressHTMLAttributes extends HTMLAttributes { max?: number | string; value?: string | ReadonlyArray | number; } interface SlotHTMLAttributes extends HTMLAttributes { name?: string; } interface ScriptHTMLAttributes extends HTMLAttributes { async?: boolean; defer?: boolean; src?: string; type?: string; integrity?: string; nonce?: string; crossOrigin?: string; noModule?: boolean; referrerPolicy?: HTMLAttributeReferrerPolicy; /** @deprecated */ charSet?: string; } interface SelectHTMLAttributes extends HTMLAttributes { autoComplete?: string; name?: string; disabled?: boolean; required?: boolean; multiple?: boolean; size?: number; form?: string; value?: string | ReadonlyArray | number; autoFocus?: boolean; onChange?: InulaChangeEventHandler; } interface SourceHTMLAttributes extends HTMLAttributes { height?: number | string; media?: string; sizes?: string; src?: string; srcSet?: string; type?: string; width?: number | string; } interface StyleHTMLAttributes extends HTMLAttributes { media?: string; nonce?: string; scoped?: boolean; type?: string; } interface TableHTMLAttributes extends HTMLAttributes { cellPadding?: number | string; cellSpacing?: number | string; summary?: string; width?: number | string; } interface TextareaHTMLAttributes extends HTMLAttributes { autoComplete?: string; name?: string; placeholder?: string; disabled?: boolean; readOnly?: boolean; required?: boolean; cols?: number; rows?: number; wrap?: string; autoFocus?: boolean; maxLength?: number; minLength?: number; dirName?: string; form?: string; value?: string | ReadonlyArray | number; onChange?: InulaChangeEventHandler; } interface ThHTMLAttributes extends HTMLAttributes { align?: 'left' | 'center' | 'right' | 'justify' | 'char'; colSpan?: number; headers?: string; rowSpan?: number; scope?: string; abbr?: string; } interface TimeHTMLAttributes extends HTMLAttributes { dateTime?: string; } interface TrackHTMLAttributes extends HTMLAttributes { default?: boolean; kind?: string; label?: string; src?: string; srcLang?: string; } interface VideoHTMLAttributes extends MediaHTMLAttributes { height?: number | string; playsInline?: boolean; poster?: string; width?: number | string; disablePictureInPicture?: boolean; disableRemotePlayback?: boolean; } interface TdHTMLAttributes extends HTMLAttributes { align?: 'left' | 'center' | 'right' | 'justify' | 'char'; valign?: 'top' | 'middle' | 'bottom' | 'baseline'; colSpan?: number; rowSpan?: number; headers?: string; scope?: string; height?: number | string; width?: number | string; abbr?: string; } interface SVGAttributes extends AriaAttributes, DOMAttributes { id?: string; lang?: string; tabIndex?: number; role?: AriaRole; className?: string; style?: InulaCSSProperties; height?: number | string; width?: number | string; x?: number | string; y?: number | string; color?: string; fill?: string; fillOpacity?: number | string; fillRule?: 'nonzero' | 'evenodd' | 'inherit'; stroke?: string; strokeDasharray?: string | number; strokeDashoffset?: string | number; strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit'; strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit'; strokeMiterlimit?: number | string; strokeOpacity?: number | string; strokeWidth?: number | string; transform?: string; fontFamily?: string; fontSize?: number | string; textAnchor?: string; gradientTransform?: string; gradientUnits?: string; clipPath?: string; clipRule?: number | string; cursor?: number | string; display?: number | string; filter?: string; mask?: string; opacity?: number | string; pointerEvents?: number | string; visibility?: number | string; accentHeight?: number | string; accumulate?: 'none' | 'sum'; additive?: 'replace' | 'sum'; alignmentBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit'; allowReorder?: 'no' | 'yes'; alphabetic?: number | string; amplitude?: number | string; arabicForm?: 'initial' | 'medial' | 'terminal' | 'isolated'; ascent?: number | string; attributeName?: string; attributeType?: string; autoReverse?: InulaBoolean; azimuth?: number | string; baseFrequency?: number | string; baselineShift?: number | string; baseProfile?: number | string; bbox?: number | string; begin?: number | string; bias?: number | string; by?: number | string; calcMode?: number | string; capHeight?: number | string; clip?: number | string; clipPathUnits?: number | string; colorInterpolation?: number | string; colorInterpolationFilters?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit'; colorProfile?: number | string; colorRendering?: number | string; contentScriptType?: number | string; contentStyleType?: number | string; cx?: number | string | undefined; cy?: number | string | undefined; d?: string | undefined; diffuseConstant?: number | string; direction?: number | string; divisor?: number | string; dominantBaseline?: number | string; dur?: number | string; dx?: number | string; dy?: number | string; edgeMode?: number | string; elevation?: number | string; enableBackground?: number | string; end?: number | string; exponent?: number | string; externalResourcesRequired?: InulaBoolean; filterRes?: number | string; filterUnits?: number | string; floodColor?: number | string; floodOpacity?: number | string; focusable?: InulaBoolean | 'auto'; fontSizeAdjust?: number | string; fontStretch?: number | string; fontStyle?: number | string; fontVariant?: number | string; fontWeight?: number | string; format?: number | string; from?: number | string; g1?: number | string; g2?: number | string; glyphName?: number | string; glyphOrientationHorizontal?: number | string; glyphOrientationVertical?: number | string; fx?: number | string; fy?: number | string; glyphRef?: number | string; hanging?: number | string; horizAdvX?: number | string; horizOriginX?: number | string; href?: string; ideographic?: number | string; imageRendering?: number | string; in2?: number | string; in?: string; intercept?: number | string; k?: number | string; k1?: number | string; k2?: number | string; k3?: number | string; k4?: number | string; kernelMatrix?: number | string; kernelUnitLength?: number | string; kerning?: number | string; keyPoints?: number | string; keySplines?: number | string; keyTimes?: number | string; lengthAdjust?: number | string; letterSpacing?: number | string; lightingColor?: number | string; limitingConeAngle?: number | string; local?: number | string; markerEnd?: string; markerHeight?: number | string; markerMid?: string; markerStart?: string; markerUnits?: number | string; markerWidth?: number | string; maskContentUnits?: number | string; maskUnits?: number | string; mathematical?: number | string; mode?: number | string; numOctaves?: number | string; offset?: number | string; operator?: number | string; order?: number | string; orient?: number | string; orientation?: number | string; origin?: number | string; overflow?: number | string; overlinePosition?: number | string; overlineThickness?: number | string; paintOrder?: number | string; panose1?: number | string; path?: string; pathLength?: number | string; patternContentUnits?: string; patternTransform?: number | string; patternUnits?: string; points?: string; pointsAtX?: number | string; pointsAtY?: number | string; pointsAtZ?: number | string; preserveAlpha?: InulaBoolean; preserveAspectRatio?: string; primitiveUnits?: number | string; r?: number | string; radius?: number | string; refX?: number | string; refY?: number | string; renderingIntent?: number | string; repeatCount?: number | string; repeatDur?: number | string; requiredExtensions?: number | string; requiredFeatures?: number | string; rx?: number | string; ry?: number | string; restart?: number | string; result?: string; rotate?: number | string; scale?: number | string; seed?: number | string; shapeRendering?: number | string; specularConstant?: number | string; specularExponent?: number | string; slope?: number | string; spacing?: number | string; speed?: number | string; spreadMethod?: string; startOffset?: number | string; stdDeviation?: number | string; stopColor?: string; stopOpacity?: number | string; stemh?: number | string; stemv?: number | string; stitchTiles?: number | string; strikethroughPosition?: number | string; strikethroughThickness?: number | string; string?: number | string; surfaceScale?: number | string; systemLanguage?: number | string; targetX?: number | string; targetY?: number | string; tableValues?: number | string; textDecoration?: number | string; textLength?: number | string; textRendering?: number | string; to?: number | string; underlinePosition?: number | string; underlineThickness?: number | string; u1?: number | string; u2?: number | string; unicode?: number | string; unicodeBidi?: number | string; unicodeRange?: number | string; unitsPerEm?: number | string; vertOriginX?: number | string; vertOriginY?: number | string; vAlphabetic?: number | string; values?: string; vectorEffect?: number | string; version?: string; vertAdvY?: number | string; vHanging?: number | string; vIdeographic?: number | string; viewBox?: string; viewTarget?: number | string; vMathematical?: number | string; widths?: number | string; wordSpacing?: number | string; writingMode?: number | string; x1?: number | string; x2?: number | string; xChannelSelector?: string; xHeight?: number | string; xlinkActuate?: string; xlinkArcrole?: string; xlinkHref?: string; xlinkRole?: string; xlinkShow?: string; xlinkTitle?: string; xlinkType?: string; xmlBase?: string; xmlLang?: string; xmlns?: string; xmlnsXlink?: string; xmlSpace?: string; y1?: number | string; y2?: number | string; yChannelSelector?: string; z?: number | string; zoomAndPan?: string; } interface WebViewHTMLAttributes extends HTMLAttributes { src?: string; httpreferrer?: string; useragent?: string; allowFullScreen?: boolean; allowpopups?: boolean; autoFocus?: boolean; autosize?: boolean; blinkfeatures?: string; disableblinkfeatures?: string; disableguestresize?: boolean; disablewebsecurity?: boolean; guestinstance?: string; nodeintegration?: boolean; partition?: string; plugins?: boolean; preload?: string; webpreferences?: string; } interface AreaHTMLAttributes extends HTMLAttributes { alt?: string; coords?: string; download?: any; href?: string; hrefLang?: string; media?: string; rel?: string; shape?: string; target?: string; referrerPolicy?: HTMLAttributeReferrerPolicy; } interface BaseHTMLAttributes extends HTMLAttributes { href?: string; target?: string; } interface BlockquoteHTMLAttributes extends HTMLAttributes { cite?: string; } interface ButtonHTMLAttributes extends HTMLAttributes { autoFocus?: boolean; disabled?: boolean; name?: string; type?: 'submit' | 'reset' | 'button'; value?: string | ReadonlyArray | number; form?: string; formAction?: string; formEncType?: string; formMethod?: string; formNoValidate?: boolean; formTarget?: string; } interface CanvasHTMLAttributes extends HTMLAttributes { height?: number | string; width?: number | string; } interface ColHTMLAttributes extends HTMLAttributes { span?: number; width?: number | string; } interface ColgroupHTMLAttributes extends HTMLAttributes { span?: number; } interface DataHTMLAttributes extends HTMLAttributes { value?: string | ReadonlyArray | number; } interface DetailsHTMLAttributes extends HTMLAttributes { open?: boolean; onToggle?: InulaEventHandler; } interface DelHTMLAttributes extends HTMLAttributes { cite?: string; dateTime?: string; } interface DialogHTMLAttributes extends HTMLAttributes { open?: boolean; } interface EmbedHTMLAttributes extends HTMLAttributes { height?: number | string; src?: string; type?: string; width?: number | string; } interface FieldsetHTMLAttributes extends HTMLAttributes { disabled?: boolean; form?: string; name?: string; } interface FormHTMLAttributes extends HTMLAttributes { action?: string; method?: string; target?: string; acceptCharset?: string; encType?: string; autoComplete?: string; name?: string; noValidate?: boolean; } interface HtmlHTMLAttributes extends HTMLAttributes { manifest?: string; } interface IframeHTMLAttributes extends HTMLAttributes { src?: string; srcDoc?: string; sandbox?: string; allow?: string; allowFullScreen?: boolean; allowTransparency?: boolean; referrerPolicy?: HTMLAttributeReferrerPolicy; width?: number | string; height?: number | string; loading?: 'eager' | 'lazy'; name?: string; /** @deprecated */ frameBorder?: number | string; /** @deprecated */ marginHeight?: number; /** @deprecated */ marginWidth?: number; /** @deprecated */ scrolling?: string; seamless?: boolean; } interface ImgHTMLAttributes extends HTMLAttributes { alt?: string; src?: string; srcSet?: string; sizes?: string; crossOrigin?: 'anonymous' | 'use-credentials' | ''; referrerPolicy?: HTMLAttributeReferrerPolicy; height?: number | string; width?: number | string; loading?: 'eager' | 'lazy'; decoding?: 'async' | 'auto' | 'sync'; useMap?: string; } interface InsHTMLAttributes extends HTMLAttributes { cite?: string; dateTime?: string; } type HTMLInputTypeAttribute = 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | (string & KVObject); interface InputHTMLAttributes extends HTMLAttributes { accept?: string; alt?: string; autoComplete?: string; autoFocus?: boolean; capture?: boolean | 'user' | 'environment'; checked?: boolean; crossOrigin?: string; disabled?: boolean; enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'; form?: string; formAction?: string; formEncType?: string; formMethod?: string; formNoValidate?: boolean; formTarget?: string; height?: number | string; list?: string; max?: number | string; maxLength?: number; min?: number | string; minLength?: number; multiple?: boolean; name?: string; pattern?: string; placeholder?: string; readOnly?: boolean; required?: boolean; size?: number; src?: string; step?: number | string; type?: HTMLInputTypeAttribute; value?: string | ReadonlyArray | number; width?: number | string; onChange?: InulaChangeEventHandler; } interface KeygenHTMLAttributes extends HTMLAttributes { autoFocus?: boolean; challenge?: string; disabled?: boolean; form?: string; keyType?: string; keyParams?: string; name?: string; } interface LabelHTMLAttributes extends HTMLAttributes { form?: string; htmlFor?: string; } interface LiHTMLAttributes extends HTMLAttributes { value?: string | ReadonlyArray | number; } interface LinkHTMLAttributes extends HTMLAttributes { href?: string; rel?: string; type?: string; as?: string; crossOrigin?: string; integrity?: string; referrerPolicy?: HTMLAttributeReferrerPolicy; hrefLang?: string; charSet?: string; media?: string; sizes?: string; imageSrcSet?: string; } interface MapHTMLAttributes extends HTMLAttributes { name?: string; } interface MenuHTMLAttributes extends HTMLAttributes { type?: string; } type InulaRole = 'application' | 'alert' | 'alertdialog' | 'article' | 'banner' | 'button' | 'cell' | 'checkbox' | 'columnheader' | 'combobox' | 'complementary' | 'contentinfo' | 'definition' | 'dialog' | 'directory' | 'document' | 'feed' | 'figure' | 'form' | 'grid' | 'gridcell' | 'group' | 'heading' | 'img' | 'link' | 'list' | 'listbox' | 'listitem' | 'log' | 'main' | 'marquee' | 'math' | 'menu' | 'menubar' | 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'navigation' | 'none' | 'note' | 'option' | 'presentation' | 'progressbar' | 'radio' | 'radiogroup' | 'region' | 'row' | 'rowgroup' | 'rowheader' | 'scrollbar' | 'search' | 'searchbox' | 'separator' | 'slider' | 'spinbutton' | 'status' | 'switch' | 'tab' | 'table' | 'tablist' | 'tabpanel' | 'term' | 'textbox' | 'timer' | 'toolbar' | 'tooltip' | 'tree' | 'treegrid' | 'treeitem' | (string & KVObject); interface AriaAttributes { 'aria-activedescendant'?: string; 'aria-atomic'?: InulaBoolean; 'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both'; 'aria-current'?: boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time'; 'aria-haspopup'?: boolean | 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'; 'aria-level'?: number; 'aria-modal'?: InulaBoolean; 'aria-multiline'?: InulaBoolean; 'aria-multiselectable'?: InulaBoolean; 'aria-orientation'?: 'horizontal' | 'vertical'; 'aria-placeholder'?: string; 'aria-roledescription'?: string; 'aria-busy'?: InulaBoolean; 'aria-checked'?: boolean | 'false' | 'mixed' | 'true'; 'aria-disabled'?: InulaBoolean; 'aria-expanded'?: InulaBoolean; 'aria-hidden'?: InulaBoolean; 'aria-invalid'?: boolean | 'false' | 'true' | 'grammar' | 'spelling'; 'aria-pressed'?: boolean | 'false' | 'mixed' | 'true'; 'aria-readonly'?: InulaBoolean; 'aria-required'?: InulaBoolean; 'aria-selected'?: InulaBoolean; 'aria-controls'?: string; 'aria-describedby'?: string; 'aria-details'?: string; 'aria-errormessage'?: string; 'aria-flowto'?: string; 'aria-labelledby'?: string; 'aria-owns'?: string; 'aria-live'?: 'off' | 'assertive' | 'polite'; 'aria-relevant'?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals'; /** @deprecated in ARIA 1.1 */ 'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup'; /** @deprecated in ARIA 1.1 */ 'aria-grabbed'?: InulaBoolean; 'aria-valuemax'?: number; 'aria-valuemin'?: number; 'aria-valuenow'?: number; 'aria-valuetext'?: string; 'aria-colcount'?: number; 'aria-colindex'?: number; 'aria-colspan'?: number; 'aria-keyshortcuts'?: string; 'aria-label'?: string; 'aria-posinset'?: number; 'aria-rowcount'?: number; 'aria-rowindex'?: number; 'aria-rowspan'?: number; 'aria-setsize'?: number; 'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other'; } interface HTMLAttributes extends AriaAttributes, DOMAttributes { id?: string; className?: string; style?: InulaCSSProperties; accessKey?: string; contentEditable?: InulaBoolean | 'inherit'; contextMenu?: string; dir?: string; draggable?: InulaBoolean; hidden?: boolean; lang?: string; spellCheck?: InulaBoolean; tabIndex?: number; title?: string; translate?: 'yes' | 'no'; radioGroup?: string; role?: InulaRole; about?: string; datatype?: string; inlist?: any; prefix?: string; property?: string; resource?: string; typeof?: string; vocab?: string; autoCapitalize?: string; autoCorrect?: string; autoSave?: string; color?: string; itemProp?: string; itemScope?: boolean; itemType?: string; itemID?: string; itemRef?: string; results?: number; security?: string; unselectable?: 'on' | 'off'; inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'; is?: string; defaultChecked?: boolean; defaultValue?: string | number | ReadonlyArray; suppressContentEditableWarning?: boolean; suppressHydrationWarning?: boolean; placeholder?: string; } interface DOMAttributes { children?: InulaNode; dangerouslySetInnerHTML?: { __html: string; }; onCopy?: InulaClipboardEventHandler; onCopyCapture?: InulaClipboardEventHandler; onCut?: InulaClipboardEventHandler; onCutCapture?: InulaClipboardEventHandler; onPaste?: InulaClipboardEventHandler; onPasteCapture?: InulaClipboardEventHandler; onCompositionEnd?: InulaCompositionEventHandler; onCompositionEndCapture?: InulaCompositionEventHandler; onCompositionStart?: InulaCompositionEventHandler; onCompositionStartCapture?: InulaCompositionEventHandler; onCompositionUpdate?: InulaCompositionEventHandler; onCompositionUpdateCapture?: InulaCompositionEventHandler; onFocus?: InulaFocusEventHandler; onFocusCapture?: InulaFocusEventHandler; onBlur?: InulaFocusEventHandler; onBlurCapture?: InulaFocusEventHandler; onChange?: InulaFormEventHandler; onChangeCapture?: InulaFormEventHandler; onBeforeInput?: InulaFormEventHandler; onBeforeInputCapture?: InulaFormEventHandler; onInput?: InulaFormEventHandler; onInputCapture?: InulaFormEventHandler; onReset?: InulaFormEventHandler; onResetCapture?: InulaFormEventHandler; onSubmit?: InulaFormEventHandler; onSubmitCapture?: InulaFormEventHandler; onInvalid?: InulaFormEventHandler; onInvalidCapture?: InulaFormEventHandler; onLoad?: InulaEventHandler; onLoadCapture?: InulaEventHandler; onError?: InulaEventHandler; onErrorCapture?: InulaEventHandler; onKeyDown?: InulaKeyboardEventHandler; onKeyDownCapture?: InulaKeyboardEventHandler; /** @deprecated */ onKeyPress?: InulaKeyboardEventHandler; /** @deprecated */ onKeyPressCapture?: InulaKeyboardEventHandler; onKeyUp?: InulaKeyboardEventHandler; onKeyUpCapture?: InulaKeyboardEventHandler; onAbort?: InulaEventHandler; onAbortCapture?: InulaEventHandler; onCanPlay?: InulaEventHandler; onCanPlayCapture?: InulaEventHandler; onCanPlayThrough?: InulaEventHandler; onCanPlayThroughCapture?: InulaEventHandler; onDurationChange?: InulaEventHandler; onDurationChangeCapture?: InulaEventHandler; onEmptied?: InulaEventHandler; onEmptiedCapture?: InulaEventHandler; onEncrypted?: InulaEventHandler; onEncryptedCapture?: InulaEventHandler; onEnded?: InulaEventHandler; onEndedCapture?: InulaEventHandler; onLoadedData?: InulaEventHandler; onLoadedDataCapture?: InulaEventHandler; onLoadedMetadata?: InulaEventHandler; onLoadedMetadataCapture?: InulaEventHandler; onLoadStart?: InulaEventHandler; onLoadStartCapture?: InulaEventHandler; onPause?: InulaEventHandler; onPauseCapture?: InulaEventHandler; onPlay?: InulaEventHandler; onPlayCapture?: InulaEventHandler; onPlaying?: InulaEventHandler; onPlayingCapture?: InulaEventHandler; onProgress?: InulaEventHandler; onProgressCapture?: InulaEventHandler; onRateChange?: InulaEventHandler; onRateChangeCapture?: InulaEventHandler; onSeeked?: InulaEventHandler; onSeekedCapture?: InulaEventHandler; onSeeking?: InulaEventHandler; onSeekingCapture?: InulaEventHandler; onStalled?: InulaEventHandler; onStalledCapture?: InulaEventHandler; onSuspend?: InulaEventHandler; onSuspendCapture?: InulaEventHandler; onTimeUpdate?: InulaEventHandler; onTimeUpdateCapture?: InulaEventHandler; onVolumeChange?: InulaEventHandler; onVolumeChangeCapture?: InulaEventHandler; onWaiting?: InulaEventHandler; onWaitingCapture?: InulaEventHandler; onAuxClick?: InulaMouseEventHandler; onAuxClickCapture?: InulaMouseEventHandler; onClick?: InulaMouseEventHandler; onClickCapture?: InulaMouseEventHandler; onContextMenu?: InulaMouseEventHandler; onContextMenuCapture?: InulaMouseEventHandler; onDoubleClick?: InulaMouseEventHandler; onDoubleClickCapture?: InulaMouseEventHandler; onDrag?: InulaDragEventHandler; onDragCapture?: InulaDragEventHandler; onDragEnd?: InulaDragEventHandler; onDragEndCapture?: InulaDragEventHandler; onDragEnter?: InulaDragEventHandler; onDragEnterCapture?: InulaDragEventHandler; onDragExit?: InulaDragEventHandler; onDragExitCapture?: InulaDragEventHandler; onDragLeave?: InulaDragEventHandler; onDragLeaveCapture?: InulaDragEventHandler; onDragOver?: InulaDragEventHandler; onDragOverCapture?: InulaDragEventHandler; onDragStart?: InulaDragEventHandler; onDragStartCapture?: InulaDragEventHandler; onDrop?: InulaDragEventHandler; onDropCapture?: InulaDragEventHandler; onMouseDown?: InulaMouseEventHandler; onMouseDownCapture?: InulaMouseEventHandler; onMouseEnter?: InulaMouseEventHandler; onMouseLeave?: InulaMouseEventHandler; onMouseMove?: InulaMouseEventHandler; onMouseMoveCapture?: InulaMouseEventHandler; onMouseOut?: InulaMouseEventHandler; onMouseOutCapture?: InulaMouseEventHandler; onMouseOver?: InulaMouseEventHandler; onMouseOverCapture?: InulaMouseEventHandler; onMouseUp?: InulaMouseEventHandler; onMouseUpCapture?: InulaMouseEventHandler; onSelect?: InulaEventHandler; onSelectCapture?: InulaEventHandler; onTouchCancel?: InulaTouchEventHandler; onTouchCancelCapture?: InulaTouchEventHandler; onTouchEnd?: InulaTouchEventHandler; onTouchEndCapture?: InulaTouchEventHandler; onTouchMove?: InulaTouchEventHandler; onTouchMoveCapture?: InulaTouchEventHandler; onTouchStart?: InulaTouchEventHandler; onTouchStartCapture?: InulaTouchEventHandler; onPointerDown?: InulaPointerEventHandler; onPointerDownCapture?: InulaPointerEventHandler; onPointerMove?: InulaPointerEventHandler; onPointerMoveCapture?: InulaPointerEventHandler; onPointerUp?: InulaPointerEventHandler; onPointerUpCapture?: InulaPointerEventHandler; onPointerCancel?: InulaPointerEventHandler; onPointerCancelCapture?: InulaPointerEventHandler; onPointerEnter?: InulaPointerEventHandler; onPointerEnterCapture?: InulaPointerEventHandler; onPointerLeave?: InulaPointerEventHandler; onPointerLeaveCapture?: InulaPointerEventHandler; onPointerOver?: InulaPointerEventHandler; onPointerOverCapture?: InulaPointerEventHandler; onPointerOut?: InulaPointerEventHandler; onPointerOutCapture?: InulaPointerEventHandler; onGotPointerCapture?: InulaPointerEventHandler; onGotPointerCaptureCapture?: InulaPointerEventHandler; onLostPointerCapture?: InulaPointerEventHandler; onLostPointerCaptureCapture?: InulaPointerEventHandler; onScroll?: InulaUIEventHandler; onScrollCapture?: InulaUIEventHandler; onWheel?: InulaWheelEventHandler; onWheelCapture?: InulaWheelEventHandler; onAnimationStart?: InulaAnimationEventHandler; onAnimationStartCapture?: InulaAnimationEventHandler; onAnimationEnd?: InulaAnimationEventHandler; onAnimationEndCapture?: InulaAnimationEventHandler; onAnimationIteration?: InulaAnimationEventHandler; onAnimationIterationCapture?: InulaAnimationEventHandler; onTransitionEnd?: InulaTransitionEventHandler; onTransitionEndCapture?: InulaTransitionEventHandler; } interface AllHTMLAttributes extends HTMLAttributes { accept?: string; acceptCharset?: string; action?: string; allowFullScreen?: boolean; allowTransparency?: boolean; alt?: string; as?: string; async?: boolean; autoFocus?: boolean; autoComplete?: string; autoPlay?: boolean; capture?: boolean | 'user' | 'environment'; cellPadding?: number | string; cellSpacing?: number | string; charSet?: string; challenge?: string; checked?: boolean; cite?: string; classID?: string; colSpan?: number; cols?: number; content?: string; controls?: boolean; coords?: string; crossOrigin?: string; data?: string; dateTime?: string; default?: boolean; defer?: boolean; disabled?: boolean; download?: any; encType?: string; form?: string; formAction?: string; formEncType?: string; formMethod?: string; formNoValidate?: boolean; formTarget?: string; frameBorder?: number | string; headers?: string; height?: number | string; high?: number; href?: string; hrefLang?: string; htmlFor?: string; httpEquiv?: string; integrity?: string; keyParams?: string; keyType?: string; kind?: string; label?: string; list?: string; loop?: boolean; low?: number; manifest?: string; marginHeight?: number; marginWidth?: number; max?: number | string; maxLength?: number; media?: string; mediaGroup?: string; method?: string; min?: number | string; minLength?: number; multiple?: boolean; muted?: boolean; name?: string; nonce?: string; noValidate?: boolean; open?: boolean; optimum?: number; pattern?: string; placeholder?: string; playsInline?: boolean; poster?: string; preload?: string; readOnly?: boolean; rel?: string; required?: boolean; reversed?: boolean; rows?: number; rowSpan?: number; sandbox?: string; scope?: string; scoped?: boolean; scrolling?: string; seamless?: boolean; selected?: boolean; shape?: string; size?: number; sizes?: string; span?: number; src?: string; srcDoc?: string; srcLang?: string; srcSet?: string; start?: number; step?: number | string; summary?: string; target?: string; type?: string; useMap?: string; value?: string | ReadonlyArray | number; width?: number | string; wmode?: string; wrap?: string; } interface HTMLElement$1 extends Element { } interface HTMLWebViewElement extends HTMLElement$1 { } type DOMFactory

, T extends Element> = (props?: (ClassAttributes & P) | null, ...children: InulaNode[]) => DOMElement; interface InulaHTMLFactory

, T extends HTMLElement> extends DOMFactory { (props?: (ClassAttributes & P) | null, ...children: InulaNode[]): DetailedInulaHTMLElement; } interface InulaHTMLElement extends DetailedInulaHTMLElement, T> { } interface DOMElement

| SVGAttributes, T extends Element> extends InulaElement { ref: LegacyRef; } interface InulaSVGElement extends DOMElement, SVGElement> { type: keyof InulaSVG; } interface InulaSVG { animate: InulaSVGFactory; circle: InulaSVGFactory; clipPath: InulaSVGFactory; defs: InulaSVGFactory; desc: InulaSVGFactory; ellipse: InulaSVGFactory; feBlend: InulaSVGFactory; feColorMatrix: InulaSVGFactory; feComponentTransfer: InulaSVGFactory; feComposite: InulaSVGFactory; feConvolveMatrix: InulaSVGFactory; feDiffuseLighting: InulaSVGFactory; feDisplacementMap: InulaSVGFactory; feDistantLight: InulaSVGFactory; feDropShadow: InulaSVGFactory; feFlood: InulaSVGFactory; feFuncA: InulaSVGFactory; feFuncB: InulaSVGFactory; feFuncG: InulaSVGFactory; feFuncR: InulaSVGFactory; feImage: InulaSVGFactory; feGaussianBlur: InulaSVGFactory; feMerge: InulaSVGFactory; feMergeNode: InulaSVGFactory; feMorphology: InulaSVGFactory; feOffset: InulaSVGFactory; fePointLight: InulaSVGFactory; feSpecularLighting: InulaSVGFactory; feSpotLight: InulaSVGFactory; feTile: InulaSVGFactory; feTurbulence: InulaSVGFactory; filter: InulaSVGFactory; foreignObject: InulaSVGFactory; g: InulaSVGFactory; image: InulaSVGFactory; line: InulaSVGFactory; linearGradient: InulaSVGFactory; marker: InulaSVGFactory; mask: InulaSVGFactory; view: InulaSVGFactory; metadata: InulaSVGFactory; path: InulaSVGFactory; pattern: InulaSVGFactory; polygon: InulaSVGFactory; polyline: InulaSVGFactory; radialGradient: InulaSVGFactory; rect: InulaSVGFactory; stop: InulaSVGFactory; svg: InulaSVGFactory; switch: InulaSVGFactory; symbol: InulaSVGFactory; text: InulaSVGFactory; textPath: InulaSVGFactory; tspan: InulaSVGFactory; use: InulaSVGFactory; } interface InulaSVGFactory extends DOMFactory, SVGElement> { (props?: (ClassAttributes & SVGAttributes) | null, ...children: InulaNode[]): InulaSVGElement; } interface DetailedInulaHTMLElement

, T extends HTMLElement> extends DOMElement { type: keyof BaseElement; } interface InulaHTML { a: InulaHTMLFactory, HTMLAnchorElement>; abbr: InulaHTMLFactory, HTMLElement>; address: InulaHTMLFactory, HTMLElement>; area: InulaHTMLFactory, HTMLAreaElement>; article: InulaHTMLFactory, HTMLElement>; aside: InulaHTMLFactory, HTMLElement>; audio: InulaHTMLFactory, HTMLAudioElement>; b: InulaHTMLFactory, HTMLElement>; base: InulaHTMLFactory, HTMLBaseElement>; bdi: InulaHTMLFactory, HTMLElement>; bdo: InulaHTMLFactory, HTMLElement>; big: InulaHTMLFactory, HTMLElement>; blockquote: InulaHTMLFactory, HTMLQuoteElement>; body: InulaHTMLFactory, HTMLBodyElement>; br: InulaHTMLFactory, HTMLBRElement>; button: InulaHTMLFactory, HTMLButtonElement>; canvas: InulaHTMLFactory, HTMLCanvasElement>; caption: InulaHTMLFactory, HTMLElement>; cite: InulaHTMLFactory, HTMLElement>; code: InulaHTMLFactory, HTMLElement>; col: InulaHTMLFactory, HTMLTableColElement>; colgroup: InulaHTMLFactory, HTMLTableColElement>; data: InulaHTMLFactory, HTMLDataElement>; datalist: InulaHTMLFactory, HTMLDataListElement>; dd: InulaHTMLFactory, HTMLElement>; del: InulaHTMLFactory, HTMLModElement>; details: InulaHTMLFactory, HTMLDetailsElement>; dfn: InulaHTMLFactory, HTMLElement>; dialog: InulaHTMLFactory, HTMLDialogElement>; div: InulaHTMLFactory, HTMLDivElement>; dl: InulaHTMLFactory, HTMLDListElement>; dt: InulaHTMLFactory, HTMLElement>; em: InulaHTMLFactory, HTMLElement>; embed: InulaHTMLFactory, HTMLEmbedElement>; fieldset: InulaHTMLFactory, HTMLFieldSetElement>; figcaption: InulaHTMLFactory, HTMLElement>; figure: InulaHTMLFactory, HTMLElement>; footer: InulaHTMLFactory, HTMLElement>; form: InulaHTMLFactory, HTMLFormElement>; h1: InulaHTMLFactory, HTMLHeadingElement>; h2: InulaHTMLFactory, HTMLHeadingElement>; h3: InulaHTMLFactory, HTMLHeadingElement>; h4: InulaHTMLFactory, HTMLHeadingElement>; h5: InulaHTMLFactory, HTMLHeadingElement>; h6: InulaHTMLFactory, HTMLHeadingElement>; head: InulaHTMLFactory, HTMLHeadElement>; header: InulaHTMLFactory, HTMLElement>; hgroup: InulaHTMLFactory, HTMLElement>; hr: InulaHTMLFactory, HTMLHRElement>; html: InulaHTMLFactory, HTMLHtmlElement>; i: InulaHTMLFactory, HTMLElement>; iframe: InulaHTMLFactory, HTMLIFrameElement>; img: InulaHTMLFactory, HTMLImageElement>; input: InulaHTMLFactory, HTMLInputElement>; ins: InulaHTMLFactory, HTMLModElement>; kbd: InulaHTMLFactory, HTMLElement>; keygen: InulaHTMLFactory, HTMLElement>; label: InulaHTMLFactory, HTMLLabelElement>; legend: InulaHTMLFactory, HTMLLegendElement>; li: InulaHTMLFactory, HTMLLIElement>; link: InulaHTMLFactory, HTMLLinkElement>; main: InulaHTMLFactory, HTMLElement>; map: InulaHTMLFactory, HTMLMapElement>; mark: InulaHTMLFactory, HTMLElement>; menu: InulaHTMLFactory, HTMLElement>; menuitem: InulaHTMLFactory, HTMLElement>; meta: InulaHTMLFactory, HTMLMetaElement>; meter: InulaHTMLFactory, HTMLMeterElement>; nav: InulaHTMLFactory, HTMLElement>; noscript: InulaHTMLFactory, HTMLElement>; object: InulaHTMLFactory, HTMLObjectElement>; ol: InulaHTMLFactory, HTMLOListElement>; optgroup: InulaHTMLFactory, HTMLOptGroupElement>; option: InulaHTMLFactory, HTMLOptionElement>; output: InulaHTMLFactory, HTMLOutputElement>; p: InulaHTMLFactory, HTMLParagraphElement>; param: InulaHTMLFactory, HTMLParamElement>; picture: InulaHTMLFactory, HTMLElement>; pre: InulaHTMLFactory, HTMLPreElement>; progress: InulaHTMLFactory, HTMLProgressElement>; q: InulaHTMLFactory, HTMLQuoteElement>; rp: InulaHTMLFactory, HTMLElement>; rt: InulaHTMLFactory, HTMLElement>; ruby: InulaHTMLFactory, HTMLElement>; s: InulaHTMLFactory, HTMLElement>; samp: InulaHTMLFactory, HTMLElement>; slot: InulaHTMLFactory, HTMLSlotElement>; script: InulaHTMLFactory, HTMLScriptElement>; section: InulaHTMLFactory, HTMLElement>; select: InulaHTMLFactory, HTMLSelectElement>; small: InulaHTMLFactory, HTMLElement>; source: InulaHTMLFactory, HTMLSourceElement>; span: InulaHTMLFactory, HTMLSpanElement>; strong: InulaHTMLFactory, HTMLElement>; style: InulaHTMLFactory, HTMLStyleElement>; sub: InulaHTMLFactory, HTMLElement>; summary: InulaHTMLFactory, HTMLElement>; sup: InulaHTMLFactory, HTMLElement>; table: InulaHTMLFactory, HTMLTableElement>; template: InulaHTMLFactory, HTMLTemplateElement>; tbody: InulaHTMLFactory, HTMLTableSectionElement>; td: InulaHTMLFactory, HTMLTableDataCellElement>; textarea: InulaHTMLFactory, HTMLTextAreaElement>; tfoot: InulaHTMLFactory, HTMLTableSectionElement>; th: InulaHTMLFactory, HTMLTableHeaderCellElement>; thead: InulaHTMLFactory, HTMLTableSectionElement>; time: InulaHTMLFactory, HTMLTimeElement>; title: InulaHTMLFactory, HTMLTitleElement>; tr: InulaHTMLFactory, HTMLTableRowElement>; track: InulaHTMLFactory, HTMLTrackElement>; u: InulaHTMLFactory, HTMLElement>; ul: InulaHTMLFactory, HTMLUListElement>; var: InulaHTMLFactory, HTMLElement>; video: InulaHTMLFactory, HTMLVideoElement>; wbr: InulaHTMLFactory, HTMLElement>; webview: InulaHTMLFactory, HTMLElement>; } type InulaHTMLProps, T> = ClassAttributes & E; interface BaseElement { a: InulaHTMLProps, HTMLAnchorElement>; abbr: InulaHTMLProps, HTMLElement>; address: InulaHTMLProps, HTMLElement>; area: InulaHTMLProps, HTMLAreaElement>; article: InulaHTMLProps, HTMLElement>; aside: InulaHTMLProps, HTMLElement>; audio: InulaHTMLProps, HTMLAudioElement>; b: InulaHTMLProps, HTMLElement>; base: InulaHTMLProps, HTMLBaseElement>; bdi: InulaHTMLProps, HTMLElement>; bdo: InulaHTMLProps, HTMLElement>; big: InulaHTMLProps, HTMLElement>; blockquote: InulaHTMLProps, HTMLQuoteElement>; body: InulaHTMLProps, HTMLBodyElement>; br: InulaHTMLProps, HTMLBRElement>; button: InulaHTMLProps, HTMLButtonElement>; canvas: InulaHTMLProps, HTMLCanvasElement>; caption: InulaHTMLProps, HTMLElement>; cite: InulaHTMLProps, HTMLElement>; code: InulaHTMLProps, HTMLElement>; col: InulaHTMLProps, HTMLTableColElement>; colgroup: InulaHTMLProps, HTMLTableColElement>; data: InulaHTMLProps, HTMLDataElement>; datalist: InulaHTMLProps, HTMLDataListElement>; dd: InulaHTMLProps, HTMLElement>; del: InulaHTMLProps, HTMLModElement>; details: InulaHTMLProps, HTMLDetailsElement>; dfn: InulaHTMLProps, HTMLElement>; dialog: InulaHTMLProps, HTMLDialogElement>; div: InulaHTMLProps, HTMLDivElement>; dl: InulaHTMLProps, HTMLDListElement>; dt: InulaHTMLProps, HTMLElement>; em: InulaHTMLProps, HTMLElement>; embed: InulaHTMLProps, HTMLEmbedElement>; fieldset: InulaHTMLProps, HTMLFieldSetElement>; figcaption: InulaHTMLProps, HTMLElement>; figure: InulaHTMLProps, HTMLElement>; footer: InulaHTMLProps, HTMLElement>; form: InulaHTMLProps, HTMLFormElement>; h1: InulaHTMLProps, HTMLHeadingElement>; h2: InulaHTMLProps, HTMLHeadingElement>; h3: InulaHTMLProps, HTMLHeadingElement>; h4: InulaHTMLProps, HTMLHeadingElement>; h5: InulaHTMLProps, HTMLHeadingElement>; h6: InulaHTMLProps, HTMLHeadingElement>; head: InulaHTMLProps, HTMLHeadElement>; header: InulaHTMLProps, HTMLElement>; hgroup: InulaHTMLProps, HTMLElement>; hr: InulaHTMLProps, HTMLHRElement>; html: InulaHTMLProps, HTMLHtmlElement>; i: InulaHTMLProps, HTMLElement>; iframe: InulaHTMLProps, HTMLIFrameElement>; img: InulaHTMLProps, HTMLImageElement>; input: InulaHTMLProps, HTMLInputElement>; ins: InulaHTMLProps, HTMLModElement>; kbd: InulaHTMLProps, HTMLElement>; keygen: InulaHTMLProps, HTMLElement>; label: InulaHTMLProps, HTMLLabelElement>; legend: InulaHTMLProps, HTMLLegendElement>; li: InulaHTMLProps, HTMLLIElement>; link: InulaHTMLProps, HTMLLinkElement>; main: InulaHTMLProps, HTMLElement>; map: InulaHTMLProps, HTMLMapElement>; mark: InulaHTMLProps, HTMLElement>; menu: InulaHTMLProps, HTMLElement>; menuitem: InulaHTMLProps, HTMLElement>; meta: InulaHTMLProps, HTMLMetaElement>; meter: InulaHTMLProps, HTMLMeterElement>; nav: InulaHTMLProps, HTMLElement>; noindex: InulaHTMLProps, HTMLElement>; noscript: InulaHTMLProps, HTMLElement>; object: InulaHTMLProps, HTMLObjectElement>; ol: InulaHTMLProps, HTMLOListElement>; optgroup: InulaHTMLProps, HTMLOptGroupElement>; option: InulaHTMLProps, HTMLOptionElement>; output: InulaHTMLProps, HTMLOutputElement>; p: InulaHTMLProps, HTMLParagraphElement>; param: InulaHTMLProps, HTMLParamElement>; picture: InulaHTMLProps, HTMLElement>; pre: InulaHTMLProps, HTMLPreElement>; progress: InulaHTMLProps, HTMLProgressElement>; q: InulaHTMLProps, HTMLQuoteElement>; rp: InulaHTMLProps, HTMLElement>; rt: InulaHTMLProps, HTMLElement>; ruby: InulaHTMLProps, HTMLElement>; s: InulaHTMLProps, HTMLElement>; samp: InulaHTMLProps, HTMLElement>; slot: InulaHTMLProps, HTMLSlotElement>; script: InulaHTMLProps, HTMLScriptElement>; section: InulaHTMLProps, HTMLElement>; select: InulaHTMLProps, HTMLSelectElement>; small: InulaHTMLProps, HTMLElement>; source: InulaHTMLProps, HTMLSourceElement>; span: InulaHTMLProps, HTMLSpanElement>; strong: InulaHTMLProps, HTMLElement>; style: InulaHTMLProps, HTMLStyleElement>; sub: InulaHTMLProps, HTMLElement>; summary: InulaHTMLProps, HTMLElement>; sup: InulaHTMLProps, HTMLElement>; table: InulaHTMLProps, HTMLTableElement>; template: InulaHTMLProps, HTMLTemplateElement>; tbody: InulaHTMLProps, HTMLTableSectionElement>; td: InulaHTMLProps, HTMLTableDataCellElement>; textarea: InulaHTMLProps, HTMLTextAreaElement>; tfoot: InulaHTMLProps, HTMLTableSectionElement>; th: InulaHTMLProps, HTMLTableHeaderCellElement>; thead: InulaHTMLProps, HTMLTableSectionElement>; time: InulaHTMLProps, HTMLTimeElement>; title: InulaHTMLProps, HTMLTitleElement>; tr: InulaHTMLProps, HTMLTableRowElement>; track: InulaHTMLProps, HTMLTrackElement>; u: InulaHTMLProps, HTMLElement>; ul: InulaHTMLProps, HTMLUListElement>; var: InulaHTMLProps, HTMLElement>; video: InulaHTMLProps, HTMLVideoElement>; wbr: InulaHTMLProps, HTMLElement>; webview: InulaHTMLProps, HTMLWebViewElement>; svg: InulaSVGProps; animate: InulaSVGProps; animateMotion: InulaSVGProps; animateTransform: InulaSVGProps; circle: InulaSVGProps; clipPath: InulaSVGProps; defs: InulaSVGProps; desc: InulaSVGProps; ellipse: InulaSVGProps; feBlend: InulaSVGProps; feColorMatrix: InulaSVGProps; feComponentTransfer: InulaSVGProps; feComposite: InulaSVGProps; feConvolveMatrix: InulaSVGProps; feDiffuseLighting: InulaSVGProps; feDisplacementMap: InulaSVGProps; feDistantLight: InulaSVGProps; feDropShadow: InulaSVGProps; feFlood: InulaSVGProps; feFuncA: InulaSVGProps; feFuncB: InulaSVGProps; feFuncG: InulaSVGProps; feFuncR: InulaSVGProps; feGaussianBlur: InulaSVGProps; feImage: InulaSVGProps; feMerge: InulaSVGProps; feMergeNode: InulaSVGProps; feMorphology: InulaSVGProps; feOffset: InulaSVGProps; fePointLight: InulaSVGProps; feSpecularLighting: InulaSVGProps; feSpotLight: InulaSVGProps; feTile: InulaSVGProps; feTurbulence: InulaSVGProps; filter: InulaSVGProps; foreignObject: InulaSVGProps; g: InulaSVGProps; image: InulaSVGProps; line: InulaSVGProps; linearGradient: InulaSVGProps; marker: InulaSVGProps; mask: InulaSVGProps; metadata: InulaSVGProps; mpath: InulaSVGProps; path: InulaSVGProps; pattern: InulaSVGProps; polygon: InulaSVGProps; polyline: InulaSVGProps; radialGradient: InulaSVGProps; rect: InulaSVGProps; stop: InulaSVGProps; switch: InulaSVGProps; symbol: InulaSVGProps; text: InulaSVGProps; textPath: InulaSVGProps; tspan: InulaSVGProps; use: InulaSVGProps; view: InulaSVGProps; } export type Key = string | number; export interface InulaElement

= string | JSXElementConstructor> { type: T; props: P; key: Key | null; } export interface InulaPortal extends InulaElement { key: Key | null; children: InulaNode; } interface InulaErrorInfo { componentStack: string; } export type KVObject = Record; export type InulaFragment = Iterable; export type ComponentState = any; export type InulaNode = string | number | null | boolean | undefined | InulaElement | InulaFragment | InulaPortal; export interface ExoticComponent

{ (props: P): InulaElement | null; } export interface ProviderProps { value: T; children?: InulaNode | undefined; } interface ConsumerProps { children: (value: T) => InulaNode; } interface Context$1 { Provider: ExoticComponent>; Consumer: ExoticComponent>; displayName?: string | undefined; } export interface FunctionComponent

{ (props: P, context?: any): InulaElement | null; displayName?: string; } export type ClassType, C extends ComponentClass

> = C & (new (props: P, context?: any) => T); export interface ClassicComponent

extends Component { replaceState(nextState: S, callback?: () => void): void; isMounted(): boolean; getInitialState?(): S; } export type InulaCElement> = ComponentElement; interface ComponentElement> extends InulaElement> { ref?: LegacyRef | undefined; } export interface ClassicComponentClass

extends ComponentClass

{ new (props: P, context?: any): ClassicComponent; getDefaultProps?(): P; } export interface FunctionComponentElement

extends InulaElement> { ref?: ('ref' extends keyof P ? (P extends { ref?: infer R | undefined; } ? R : never) : never) | undefined; } export interface ComponentClass

extends StaticLifecycle { new (props: P, context?: unknown): Component; displayName?: string; } export type FC

= FunctionComponent

; export type ComponentType

= ComponentClass

| FunctionComponent

; export interface ChildrenType { map(children: C | Array, fn: (child: C, index: number) => T, context?: any): C extends null | undefined ? C : Array>; forEach(children: C | Array, fn: (child: C, index: number) => void): void; count(children: any): number; only(children: C): C extends unknown[] ? never : C; toArray(children: InulaNode | InulaNode[]): Array>; } type ForwardRef = ((inst: T | null) => void) | MutableRef | null; export interface ForwardRefRenderFunc { (props: P, ref: ForwardRef): InulaElement | null; } export type PropsOmitRef

= 'ref' extends keyof P ? Omit : P; export type PropsWithRef

= 'ref' extends keyof P ? P extends { ref?: infer R | undefined; } ? string extends R ? PropsOmitRef

& { ref?: Exclude; } : P : P : P; export type Attributes = { key?: Key | null | undefined; }; export type Ref = RefCallBack | RefObject | null; export type RefAttributes = Attributes & { ref?: Ref | null; }; export type ComponentPropsWithRef = T extends new (props: infer P) => Component ? PropsOmitRef

& RefAttributes> : T extends (props: infer P, legacyContext?: any) => InulaNode ? PropsWithRef

: never; export type LazyComponent> = ExoticComponent> & { readonly _result: T; }; export type MemoComponent> = ExoticComponent> & { readonly type: T; displayName?: string; }; type Suspense = ExoticComponent<{ children?: InulaNode; fallback: InulaNode; }>; type Fragment = ExoticComponent<{ children?: InulaNode; }>; type StrictMode = ExoticComponent<{ children?: InulaNode; }>; export type InulaProfiler = ExoticComponent<{ children?: InulaNode; id: string; onRender: any; }>; interface OutDateLifecycle { /** * @deprecated * @see componentDidMount */ componentWillMount?(): void; /** * @deprecated * @alias componentWillMount */ UNSAFE_componentWillMount?(): void; /** * @deprecated * @see getDerivedStateFromProps */ componentWillReceiveProps?(nextProps: Readonly

, nextContext: any): void; /** * @deprecated * @alias componentWillReceiveProps */ UNSAFE_componentWillReceiveProps?(nextProps: Readonly

, nextContext: any): void; /** * @deprecated * @alias getSnapshotBeforeUpdate */ componentWillUpdate?(nextProps: Readonly

, nextState: Readonly, nextContext: any): void; /** * @deprecated * @alias componentWillUpdate */ UNSAFE_componentWillUpdate?(nextProps: Readonly

, nextState: Readonly, nextContext: any): void; } interface StaticLifecycle { getDerivedStateFromProps?(nextProps: Readonly

, prevState: S): Partial | null; getDerivedStateFromError?(error: any): Partial | null; } export interface ComponentLifecycle extends OutDateLifecycle, StaticLifecycle { componentDidMount?(): void; getSnapshotBeforeUpdate?(prevProps: Readonly

, prevState: Readonly): SS | null; componentDidUpdate?(prevProps: Readonly

, prevState: Readonly, snapshot?: SS): void; shouldComponentUpdate?(nextProps: Readonly

, nextState: Readonly, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: InulaErrorInfo): void; } export type BasicStateAction = S | ((prevState: S) => S); type Dispatch$1 = (value: A) => void; export type DispatchVoid = () => void; type Reducer$1 = (prevState: S, action: A) => S; export type ReducerVoid = (prevState: S) => S; export type ReducerStateVoid> = R extends ReducerVoid ? S : never; export type ReducerState> = R extends Reducer$1 ? S : never; export type ReducerAction> = R extends Reducer$1 ? A : never; export type DependencyList = Array; export type EffectCallBack = () => void | (() => void); export type JSXElementConstructor

= ((props: P) => InulaElement | null) | (new (props: P) => Component); interface InulaBaseEvent { nativeEvent: E; trigger: Tr; target: Ta; bubbles: boolean; cancelable: boolean; defaultPrevented: boolean; eventPhase: number; isTrusted: boolean; preventDefault(): void; isDefaultPrevented(): boolean; stopPropagation(): void; isPropagationStopped(): boolean; persist(): void; timeStamp: number; type: string; } export interface SyntheticEvent extends InulaBaseEvent { } interface ClipboardEvent$1 extends SyntheticEvent { clipboardData: DataTransfer; } interface CompositionEvent$1 extends SyntheticEvent { data: string; } interface DragEvent$1 extends MouseEvent$1 { dataTransfer: DataTransfer; } interface PointerEvent$1 extends MouseEvent$1 { pointerId: number; pressure: number; tangentialPressure: number; tiltX: number; tiltY: number; twist: number; width: number; height: number; pointerType: 'mouse' | 'pen' | 'touch'; isPrimary: boolean; } interface FocusEvent$1 extends SyntheticEvent { relatedTarget: (EventTarget & RelatedTarget) | null; target: EventTarget & Target; } export type FormEvent = SyntheticEvent; export interface InvalidEvent extends SyntheticEvent { target: EventTarget & T; } export interface ChangeEvent extends SyntheticEvent { target: EventTarget & T; } interface WheelEvent$1 extends MouseEvent$1 { deltaMode: number; deltaX: number; deltaY: number; deltaZ: number; } interface AnimationEvent$1 extends SyntheticEvent { animationName: string; elapsedTime: number; pseudoElement: string; } interface TransitionEvent$1 extends SyntheticEvent { elapsedTime: number; propertyName: string; pseudoElement: string; } interface UIEvent$1 extends SyntheticEvent { detail: number; } export type ModifierKey = 'Alt' | 'AltGraph' | 'CapsLock' | 'Control' | 'Fn' | 'FnLock' | 'Meta' | 'NumLock' | 'ScrollLock' | 'Shift' | 'Symbol' | 'SymbolLock'; interface KeyboardEvent$1 extends UIEvent$1 { altKey: boolean; /** @deprecated */ charCode: number; ctrlKey: boolean; code: string; key: string; /** @deprecated */ keyCode: number; locale: string; location: number; metaKey: boolean; repeat: boolean; shiftKey: boolean; /** @deprecated */ which: number; getModifierState(key: ModifierKey): boolean; } interface TouchEvent$1 extends UIEvent$1 { altKey: boolean; changedTouches: TouchList; ctrlKey: boolean; metaKey: boolean; shiftKey: boolean; targetTouches: TouchList; touches: TouchList; getModifierState(key: ModifierKey): boolean; } interface MouseEvent$1 extends UIEvent$1 { altKey: boolean; button: number; buttons: number; clientX: number; clientY: number; ctrlKey: boolean; metaKey: boolean; movementX: number; movementY: number; pageX: number; pageY: number; relatedTarget: EventTarget | null; screenX: number; screenY: number; shiftKey: boolean; getModifierState(key: ModifierKey): boolean; } export type EventHandler> = { bivarianceHack(event: E): void; }['bivarianceHack']; export type InulaClipboardEventHandler = EventHandler>; export type InulaCompositionEventHandler = EventHandler>; export type InulaDragEventHandler = EventHandler>; export type InulaFocusEventHandler = EventHandler>; export type InulaFormEventHandler = EventHandler>; export type InulaChangeEventHandler = EventHandler>; export type InulaKeyboardEventHandler = EventHandler>; export type InulaMouseEventHandler = EventHandler>; export type InulaTouchEventHandler = EventHandler>; export type InulaPointerEventHandler = EventHandler>; export type InulaUIEventHandler = EventHandler>; export type InulaWheelEventHandler = EventHandler>; export type InulaAnimationEventHandler = EventHandler>; export type InulaTransitionEventHandler = EventHandler>; export type CSSProperties = Record; export type LegacyRef = string | Ref; export interface ClassAttributes extends Attributes { ref?: LegacyRef | undefined; } export interface InulaCSSProperties extends CSSProperties { } export type InulaBoolean = boolean | 'true' | 'false'; export type InulaEventHandler = EventHandler>; declare global { namespace JSX { interface IntrinsicAttributes extends Attributes { } interface Element extends InulaElement { } interface ElementClass extends Component { render(): InulaNode; } interface ElementAttributesProperty { props: KVObject; } interface ElementChildrenAttribute { children: KVObject; } interface IntrinsicClassAttributes extends ClassAttributes { } type IntrinsicElements = BaseElement; } } declare const TYPE_FRAGMENT: Fragment; declare const TYPE_STRICT_MODE: StrictMode; declare const TYPE_FORWARD_REF = 7; declare const TYPE_SUSPENSE: Suspense; declare const TYPE_PROFILER: InulaProfiler; declare const TYPE_MEMO = 10; export declare function createRef(): RefObject; export declare const Children: ChildrenType; export declare function createElement(type: 'input', props?: (InputHTMLAttributes & ClassAttributes) | null, ...children: InulaNode[]): DetailedInulaHTMLElement, HTMLInputElement>; export declare function createElement

, T extends HTMLElement>(type: keyof InulaHTML, props?: (ClassAttributes & P) | null, ...children: InulaNode[]): DetailedInulaHTMLElement; export declare function createElement

, T extends SVGElement>(type: keyof InulaSVG, props?: (ClassAttributes & P) | null, ...children: InulaNode[]): InulaSVGElement; export declare function createElement

, T extends Element>(type: string, props?: (ClassAttributes & P) | null, ...children: InulaNode[]): DOMElement; export declare function createElement

(type: FunctionComponent

, props?: (Attributes & P) | null, ...children: InulaNode[]): FunctionComponentElement

; export declare function createElement

(type: ClassType, ClassicComponentClass

>, props?: (ClassAttributes> & P) | null, ...children: InulaNode[]): InulaCElement>; export declare function createElement

, C extends ComponentClass

>(type: ClassType, props?: (ClassAttributes & P) | null, ...children: InulaNode[]): InulaCElement; export declare function createElement

(type: FunctionComponent

| ComponentClass

| string, props?: (Attributes & P) | null, ...children: InulaNode[]): InulaElement

; export declare function cloneElement

, T extends HTMLElement>(element: DetailedInulaHTMLElement, props?: P, ...children: InulaNode[]): DetailedInulaHTMLElement; export declare function cloneElement

, T extends HTMLElement>(element: InulaHTMLElement, props?: P, ...children: InulaNode[]): InulaHTMLElement; export declare function cloneElement

, T extends SVGElement>(element: InulaSVGElement, props?: P, ...children: InulaNode[]): InulaSVGElement; export declare function cloneElement

, T extends Element>(element: DOMElement, props?: DOMAttributes & P, ...children: InulaNode[]): DOMElement; export declare function cloneElement

(element: FunctionComponentElement

, props?: Partial

& Attributes, ...children: InulaNode[]): FunctionComponentElement

; export declare function cloneElement>(element: InulaCElement, props?: Partial

& ClassAttributes, ...children: InulaNode[]): InulaCElement; export declare function cloneElement

(element: InulaElement

, props?: Partial

& Attributes, ...children: InulaNode[]): InulaElement

; export declare function isValidElement

(element: {} | null | undefined): element is InulaElement

; export declare function createContext(val: T): Context$1; export declare function lazy>(promiseCtor: () => Promise<{ default: T; }>): LazyComponent; export declare function forwardRef(render: ForwardRefRenderFunc): ExoticComponent> & RefAttributes; export declare function memo>(type: FunctionComponent, compare?: (oldProps: Readonly, newProps: Readonly) => boolean): ExoticComponent; export declare function memo>(type: T, compare?: (oldProps: any, newProps: any) => boolean): MemoComponent; export declare const version: any; export declare function useContext(Context: Context$1): T; export declare function useState(initialState: (() => S) | S): [S, Dispatch$1>]; export declare function useState(): [S | undefined, Dispatch$1>]; export declare function useReducer, I>(reducer: R, initialArg: I, init: (arg: I) => ReducerVoid): [ReducerStateVoid, DispatchVoid]; export declare function useReducer>(reducer: R, initialArg: ReducerStateVoid, init?: undefined): [ReducerStateVoid, DispatchVoid]; export declare function useReducer, I>(reducer: R, initialArg: I & ReducerState, init?: (arg: I & ReducerState) => ReducerState): [ReducerState, Dispatch$1>]; export declare function useReducer, I>(reducer: R, initialArg: I, init?: (arg: I) => ReducerState): [ReducerState, Dispatch$1>]; export declare function useReducer>(reducer: R, initialArg: ReducerState, init?: undefined): [ReducerState, Dispatch$1>]; export declare function useRef(initialValue: T): MutableRef; export declare function useRef(initialValue: T | null): RefObject; export declare function useRef(): MutableRef; export declare function useEffect(create: EffectCallBack, deps?: DependencyList): void; export declare function useLayoutEffect(create: EffectCallBack, deps?: DependencyList): void; export declare function useCallback(callback: T, deps: DependencyList): T; export declare function useMemo(create: () => T, deps: DependencyList | undefined): T; export declare function useImperativeHandle(ref: RefObject | RefCallBack | null | undefined, create: () => R, deps?: DependencyList): void; export declare const useDebugValue: () => void; export declare function isElement(ele: any): ele is InulaElement; export declare function isFragment(ele: any): ele is InulaElement; export declare function isForwardRef(ele: any): ele is InulaElement; export declare function isLazy(ele: any): ele is LazyComponent; export declare function isMemo(ele: any): ele is MemoComponent; export declare function isPortal(ele: any): ele is InulaElement; export declare function isContextProvider(ele: any): ele is InulaElement; export declare function isContextConsumer(ele: any): ele is InulaElement; export declare function isValidElementType(type: any): boolean; type StoreConfig, A extends UserActions, C extends UserComputedValues> = { id?: string; state?: S; actions?: A; computed?: C; options?: { isReduxAdapter?: boolean; }; }; type UserActions> = { [K: string]: ActionFunction; }; type ActionFunction> = (this: StoreObj, state: S, ...args: any[]) => any; type StoreActions, A extends UserActions> = { [K in keyof A]: Action; }; type Action, S extends Record> = (this: StoreObj, ...args: RemoveFirstFromTuple>) => ReturnType; type StoreObj, A extends UserActions, C extends UserComputedValues> = { $s: S; $a: StoreActions; $c: UserComputedValues; $queue: QueuedStoreActions; $listeners: any; $subscribe: (listener: (mutation: any) => void) => void; $unsubscribe: (listener: (mutation: any) => void) => void; } & { [K in keyof S]: S[K]; } & { [K in keyof A]: Action; } & { [K in keyof C]: ReturnType; }; type RemoveFirstFromTuple = T['length'] extends 0 ? [] : ((...b: T) => void) extends (a: any, ...b: infer I) => void ? I : []; type UserComputedValues> = { [K: string]: ComputedFunction; }; type ComputedFunction> = (state: S) => any; type AsyncAction, S extends Record> = (this: StoreObj, ...args: RemoveFirstFromTuple>) => Promise>; type QueuedStoreActions, A extends UserActions> = { [K in keyof A]: AsyncAction; }; declare function createStore$1, A extends UserActions, C extends UserComputedValues>(config: StoreConfig): () => StoreObj; declare function useStore$1, A extends UserActions, C extends UserComputedValues>(id: string): StoreObj; export declare function clearStore(id: string): void; declare const thunk: ReduxMiddleware; type Callback = () => void; interface Subscription { stateChange?: () => any; addNestedSub(listener: Callback): Callback; triggerNestedSubs(): void; trySubscribe(): void; tryUnsubscribe(): void; } declare const ReduxAdapterContext: Context$1<{ store: ReduxStoreHandler; subscription: Subscription; }>; type Context = typeof ReduxAdapterContext; type Selector = (state: unknown) => unknown; declare function Provider({ store, context, children, }: { store: ReduxStoreHandler; context?: Context; children?: any[]; }): FunctionComponentElement; subscription: Subscription; }>>; declare function createSelectorHook(context: Context): (selector?: Selector) => any; declare function createDispatchHook(context: Context): () => BoundActionCreator; declare const useSelector: (selector?: Selector) => any; declare const useDispatch: () => BoundActionCreator; declare const useStore: () => ReduxStoreHandler; type MapStateToPropsP = (state: any, ownProps: OwnProps) => StateProps; type MapDispatchToPropsP = { [key: string]: (...args: any[]) => ReduxAction; } | ((dispatch: (action: ReduxAction) => any, ownProps: OwnProps) => DispatchProps); type MergePropsP = (stateProps: StateProps, dispatchProps: DispatchProps, ownProps: OwnProps) => MergedProps; type OriginalComponent = (props: MergedProps) => ReturnType; type Connector = (Component: OriginalComponent) => ComponentType; type ConnectOption = { /** @deprecated */ prue?: boolean; forwardRef?: boolean; context?: Context; areOwnPropsEqual?: (newOwnProps: OwnProps, oldOwnProps: OwnProps) => boolean; areStatePropsEqual?: (newStateProps: StateProps, oldStateProps: StateProps) => boolean; areStatesEqual?: (newState: State, oldState: State) => boolean; }; declare function connect(mapStateToProps?: MapStateToPropsP, mapDispatchToProps?: MapDispatchToPropsP, mergeProps?: MergePropsP, options?: ConnectOption): Connector; type ReduxStoreHandler = { dispatch(action: { type: string; }): void; getState(): T; subscribe(listener: () => void): () => void; replaceReducer(reducer: (state: T, action: { type: string; }) => any): void; }; type ReduxAction = { type: string; [key: string]: any; }; type ReduxMiddleware = (store: ReduxStoreHandler, extraArgument?: any) => (next: (action: ReduxAction) => any) => (action: ReduxAction | ((dispatch: (action: ReduxAction) => void, store: ReduxStoreHandler, extraArgument?: any) => any)) => ReduxStoreHandler; type Reducer = (state: any, action: ReduxAction) => any; type StoreCreator = (reducer: Reducer, preloadedState?: any) => ReduxStoreHandler; type StoreEnhancer = (next: StoreCreator) => StoreCreator; declare function createStore(reducer: Reducer, preloadedState?: any, enhancer?: StoreEnhancer): ReduxStoreHandler; declare function combineReducers(reducers: Record): Reducer; declare function applyMiddleware(...middlewares: ReduxMiddleware[]): (createStore: StoreCreator) => StoreCreator; type ActionCreator = (...params: any[]) => ReduxAction; type ActionCreators = { [key: string]: ActionCreator; }; type BoundActionCreator = (...params: any[]) => void; type BoundActionCreators = { [key: string]: BoundActionCreator; }; type Dispatch = (action: ReduxAction) => any; declare function bindActionCreators(actionCreators: ActionCreators, dispatch: Dispatch): BoundActionCreators; declare function compose(...middlewares: ((...args: any[]) => any)[]): (...args: any[]) => T; declare function batch(fn: () => void): void; type reduxAdapter_ReduxStoreHandler = ReduxStoreHandler; type reduxAdapter_ReduxAction = ReduxAction; type reduxAdapter_ReduxMiddleware = ReduxMiddleware; declare const reduxAdapter_createStore: typeof createStore; declare const reduxAdapter_combineReducers: typeof combineReducers; declare const reduxAdapter_applyMiddleware: typeof applyMiddleware; type reduxAdapter_BoundActionCreator = BoundActionCreator; type reduxAdapter_Dispatch = Dispatch; declare const reduxAdapter_bindActionCreators: typeof bindActionCreators; declare const reduxAdapter_compose: typeof compose; declare const reduxAdapter_batch: typeof batch; declare const reduxAdapter_thunk: typeof thunk; declare const reduxAdapter_Provider: typeof Provider; declare const reduxAdapter_useSelector: typeof useSelector; declare const reduxAdapter_useStore: typeof useStore; declare const reduxAdapter_useDispatch: typeof useDispatch; declare const reduxAdapter_connect: typeof connect; declare const reduxAdapter_createSelectorHook: typeof createSelectorHook; declare const reduxAdapter_createDispatchHook: typeof createDispatchHook; declare const reduxAdapter_ReduxAdapterContext: typeof ReduxAdapterContext; export declare namespace reduxAdapter { export { reduxAdapter_createStore as createStore, reduxAdapter_combineReducers as combineReducers, reduxAdapter_applyMiddleware as applyMiddleware, reduxAdapter_bindActionCreators as bindActionCreators, reduxAdapter_compose as compose, reduxAdapter_batch as batch, reduxAdapter_thunk as thunk, reduxAdapter_Provider as Provider, reduxAdapter_useSelector as useSelector, reduxAdapter_useStore as useStore, reduxAdapter_useDispatch as useDispatch, reduxAdapter_connect as connect, reduxAdapter_createSelectorHook as createSelectorHook, reduxAdapter_createDispatchHook as createDispatchHook, reduxAdapter_ReduxAdapterContext as ReduxAdapterContext }; export type { reduxAdapter_ReduxStoreHandler as ReduxStoreHandler, reduxAdapter_ReduxAction as ReduxAction, reduxAdapter_ReduxMiddleware as ReduxMiddleware, reduxAdapter_BoundActionCreator as BoundActionCreator, reduxAdapter_Dispatch as Dispatch }; } export declare function watch(stateVariable: any, listener: (state: any) => void): () => void; interface Thenable { then(resolve: (val?: any) => void, reject: (err: any) => void): void; } export declare function act(fun: () => void | Thenable): Thenable; declare function asyncUpdates(fn: (a: P) => R, a: P): R; declare function asyncUpdates(fn: () => R): R; declare function syncUpdates(fn: (a: P) => R, a: P): R; declare function syncUpdates(fn: () => R): R; /** * useEffect 和 useLayoutEffect的执行逻辑 */ export declare function createPortal(children: InulaNode, realNode: Element | DocumentFragment, key?: null | string): InulaPortal; type Container = Element | Document; declare function executeRender(children: any, container: Container, callback?: Callback$1): Element | Text; export declare function findDOMNode(domOrEle?: Element): null | Element | Text; declare function destroy(container: Element | DocumentFragment | Document): boolean; interface RootElement { render(component: InulaNode): void; unmount(): void; } declare function createRootElement(container: Container, option?: Record): RootElement; export declare function toRaw(observed: T): T; declare namespace Inula { export { Children }; export { Component }; export { TYPE_FORWARD_REF as ForwardRef }; export { TYPE_FRAGMENT as Fragment }; export { TYPE_MEMO as Memo }; export { TYPE_PROFILER as Profiler }; export { PureComponent }; export { TYPE_STRICT_MODE as StrictMode }; export { TYPE_SUSPENSE as Suspense }; export { act }; export { clearStore }; export { cloneElement }; export { createContext }; export { createElement }; export { createPortal }; export { createRef }; export { createRootElement as createRoot }; export { createStore$1 as createStore }; export { findDOMNode }; export { syncUpdates as flushSync }; export { forwardRef }; export { isContextConsumer }; export { isContextProvider }; export { isElement }; export { isForwardRef }; export { isFragment }; export { isLazy }; export { isMemo }; export { isPortal }; export { isValidElement }; export { isValidElementType }; export { lazy }; export { memo }; export { executeRender as render }; export { toRaw }; export { destroy as unmountComponentAtNode }; export { asyncUpdates as unstable_batchedUpdates }; export { useCallback }; export { useContext }; export { useDebugValue }; export { useEffect }; export { useImperativeHandle }; export { useLayoutEffect }; export { useMemo }; export { useReducer }; export { useRef }; export { useState }; export { useStore$1 as useStore }; export { version }; export { watch }; export { AnimationEvent$1 as AnimationEvent }; export { Attributes }; export { BasicStateAction }; export { CSSProperties }; export { ChangeEvent }; export { ChildrenType }; export { ClassAttributes }; export { ClassType }; export { ClassicComponent }; export { ClassicComponentClass }; export { ClipboardEvent$1 as ClipboardEvent }; export { ComponentClass }; export { ComponentLifecycle }; export { ComponentPropsWithRef }; export { ComponentState }; export { ComponentType }; export { CompositionEvent$1 as CompositionEvent }; export { Context$1 as Context }; export { DependencyList }; export { Dispatch$1 as Dispatch }; export { DispatchVoid }; export { DragEvent$1 as DragEvent }; export { EffectCallBack }; export { EventHandler }; export { ExoticComponent }; export { FC }; export { FocusEvent$1 as FocusEvent }; export { FormEvent }; export { ForwardRefRenderFunc }; export { FunctionComponent }; export { FunctionComponentElement }; export { InulaAnimationEventHandler }; export { InulaBoolean }; export { InulaCElement }; export { InulaCSSProperties }; export { InulaChangeEventHandler }; export { InulaClipboardEventHandler }; export { InulaCompositionEventHandler }; export { InulaDragEventHandler }; export { InulaElement }; export { InulaEventHandler }; export { InulaFocusEventHandler }; export { InulaFormEventHandler }; export { InulaFragment }; export { InulaKeyboardEventHandler }; export { InulaMouseEventHandler }; export { InulaNode }; export { InulaPointerEventHandler }; export { InulaPortal }; export { InulaProfiler }; export { InulaTouchEventHandler }; export { InulaTransitionEventHandler }; export { InulaUIEventHandler }; export { InulaWheelEventHandler }; export { InvalidEvent }; export { JSXElementConstructor }; export { KVObject }; export { Key }; export { KeyboardEvent$1 as KeyboardEvent }; export { LazyComponent }; export { LegacyRef }; export { MemoComponent }; export { ModifierKey }; export { MouseEvent$1 as MouseEvent }; export { PointerEvent$1 as PointerEvent }; export { PropsOmitRef }; export { PropsWithRef }; export { ProviderProps }; export { Reducer$1 as Reducer }; export { ReducerAction }; export { ReducerState }; export { ReducerStateVoid }; export { ReducerVoid }; export { Ref }; export { RefAttributes }; export { RefCallBack }; export { RefObject }; export { SyntheticEvent }; export { TouchEvent$1 as TouchEvent }; export { TransitionEvent$1 as TransitionEvent }; export { UIEvent$1 as UIEvent }; export { WheelEvent$1 as WheelEvent }; } export { TYPE_FORWARD_REF as ForwardRef }; export { TYPE_FRAGMENT as Fragment }; export { TYPE_MEMO as Memo }; export { TYPE_PROFILER as Profiler }; export { TYPE_STRICT_MODE as StrictMode }; export { TYPE_SUSPENSE as Suspense }; export { createRootElement as createRoot }; export { createStore$1 as createStore }; export { syncUpdates as flushSync }; export { executeRender as render }; export { destroy as unmountComponentAtNode }; export { asyncUpdates as unstable_batchedUpdates }; export { useStore$1 as useStore }; export { AnimationEvent$1 as AnimationEvent }; export { ClipboardEvent$1 as ClipboardEvent }; export { CompositionEvent$1 as CompositionEvent }; export { Context$1 as Context }; export { Dispatch$1 as Dispatch }; export { DragEvent$1 as DragEvent }; export { FocusEvent$1 as FocusEvent }; export { KeyboardEvent$1 as KeyboardEvent }; export { MouseEvent$1 as MouseEvent }; export { PointerEvent$1 as PointerEvent }; export { Reducer$1 as Reducer }; export { TouchEvent$1 as TouchEvent }; export { TransitionEvent$1 as TransitionEvent }; export { UIEvent$1 as UIEvent }; export { WheelEvent$1 as WheelEvent }; export default Inula;