import { NavigationOptions, State, Router } from 'router5'; import React, { Component, HTMLAttributes, MouseEventHandler } from 'react'; export interface BaseLinkProps extends HTMLAttributes { routeName: string; routeParams?: { [key: string]: any; }; routeOptions?: NavigationOptions; className?: string; activeClassName?: string; activeStrict?: boolean; ignoreQueryParams?: boolean; onClick?: MouseEventHandler; onMouseOver?: MouseEventHandler; successCallback?(state?: State): void; errorCallback?(error?: any): void; target?: string; route?: State; previousRoute?: State; router: Router; } export interface BaseLinkState { active: boolean; } declare class BaseLink extends Component { router: Router; constructor(props: any, context: any); buildUrl(routeName: any, routeParams: any): any; isActive(): boolean; callback(err: any, state: any): void; clickHandler(evt: any): void; render(): React.DetailedReactHTMLElement<{ href: any; className: string; onClick: (evt: any) => void; onMouseOver?: (event: React.MouseEvent) => void; target?: string; defaultChecked?: boolean; defaultValue?: string | number | string[]; suppressContentEditableWarning?: boolean; suppressHydrationWarning?: boolean; accessKey?: string; contentEditable?: boolean | "true" | "false" | "inherit"; contextMenu?: string; dir?: string; draggable?: boolean | "true" | "false"; hidden?: boolean; id?: string; lang?: string; placeholder?: string; slot?: string; spellCheck?: boolean | "true" | "false"; style?: React.CSSProperties; tabIndex?: number; title?: string; translate?: "yes" | "no"; radioGroup?: string; role?: string; 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; 'aria-activedescendant'?: string; 'aria-atomic'?: boolean | "true" | "false"; 'aria-autocomplete'?: "none" | "inline" | "list" | "both"; 'aria-busy'?: boolean | "true" | "false"; 'aria-checked'?: boolean | "true" | "false" | "mixed"; 'aria-colcount'?: number; 'aria-colindex'?: number; 'aria-colspan'?: number; 'aria-controls'?: string; 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date"; 'aria-describedby'?: string; 'aria-details'?: string; 'aria-disabled'?: boolean | "true" | "false"; 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup"; 'aria-errormessage'?: string; 'aria-expanded'?: boolean | "true" | "false"; 'aria-flowto'?: string; 'aria-grabbed'?: boolean | "true" | "false"; 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | "grid"; 'aria-hidden'?: boolean | "true" | "false"; 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling"; 'aria-keyshortcuts'?: string; 'aria-label'?: string; 'aria-labelledby'?: string; 'aria-level'?: number; 'aria-live'?: "off" | "assertive" | "polite"; 'aria-modal'?: boolean | "true" | "false"; 'aria-multiline'?: boolean | "true" | "false"; 'aria-multiselectable'?: boolean | "true" | "false"; 'aria-orientation'?: "horizontal" | "vertical"; 'aria-owns'?: string; 'aria-placeholder'?: string; 'aria-posinset'?: number; 'aria-pressed'?: boolean | "true" | "false" | "mixed"; 'aria-readonly'?: boolean | "true" | "false"; 'aria-relevant'?: "text" | "additions" | "additions text" | "all" | "removals"; 'aria-required'?: boolean | "true" | "false"; 'aria-roledescription'?: string; 'aria-rowcount'?: number; 'aria-rowindex'?: number; 'aria-rowspan'?: number; 'aria-selected'?: boolean | "true" | "false"; 'aria-setsize'?: number; 'aria-sort'?: "none" | "ascending" | "descending" | "other"; 'aria-valuemax'?: number; 'aria-valuemin'?: number; 'aria-valuenow'?: number; 'aria-valuetext'?: string; dangerouslySetInnerHTML?: { __html: string; }; onCopy?: (event: React.ClipboardEvent) => void; onCopyCapture?: (event: React.ClipboardEvent) => void; onCut?: (event: React.ClipboardEvent) => void; onCutCapture?: (event: React.ClipboardEvent) => void; onPaste?: (event: React.ClipboardEvent) => void; onPasteCapture?: (event: React.ClipboardEvent) => void; onCompositionEnd?: (event: React.CompositionEvent) => void; onCompositionEndCapture?: (event: React.CompositionEvent) => void; onCompositionStart?: (event: React.CompositionEvent) => void; onCompositionStartCapture?: (event: React.CompositionEvent) => void; onCompositionUpdate?: (event: React.CompositionEvent) => void; onCompositionUpdateCapture?: (event: React.CompositionEvent) => void; onFocus?: (event: React.FocusEvent) => void; onFocusCapture?: (event: React.FocusEvent) => void; onBlur?: (event: React.FocusEvent) => void; onBlurCapture?: (event: React.FocusEvent) => void; onChange?: (event: React.FormEvent) => void; onChangeCapture?: (event: React.FormEvent) => void; onBeforeInput?: (event: React.FormEvent) => void; onBeforeInputCapture?: (event: React.FormEvent) => void; onInput?: (event: React.FormEvent) => void; onInputCapture?: (event: React.FormEvent) => void; onReset?: (event: React.FormEvent) => void; onResetCapture?: (event: React.FormEvent) => void; onSubmit?: (event: React.FormEvent) => void; onSubmitCapture?: (event: React.FormEvent) => void; onInvalid?: (event: React.FormEvent) => void; onInvalidCapture?: (event: React.FormEvent) => void; onLoad?: (event: React.SyntheticEvent) => void; onLoadCapture?: (event: React.SyntheticEvent) => void; onError?: (event: React.SyntheticEvent) => void; onErrorCapture?: (event: React.SyntheticEvent) => void; onKeyDown?: (event: React.KeyboardEvent) => void; onKeyDownCapture?: (event: React.KeyboardEvent) => void; onKeyPress?: (event: React.KeyboardEvent) => void; onKeyPressCapture?: (event: React.KeyboardEvent) => void; onKeyUp?: (event: React.KeyboardEvent) => void; onKeyUpCapture?: (event: React.KeyboardEvent) => void; onAbort?: (event: React.SyntheticEvent) => void; onAbortCapture?: (event: React.SyntheticEvent) => void; onCanPlay?: (event: React.SyntheticEvent) => void; onCanPlayCapture?: (event: React.SyntheticEvent) => void; onCanPlayThrough?: (event: React.SyntheticEvent) => void; onCanPlayThroughCapture?: (event: React.SyntheticEvent) => void; onDurationChange?: (event: React.SyntheticEvent) => void; onDurationChangeCapture?: (event: React.SyntheticEvent) => void; onEmptied?: (event: React.SyntheticEvent) => void; onEmptiedCapture?: (event: React.SyntheticEvent) => void; onEncrypted?: (event: React.SyntheticEvent) => void; onEncryptedCapture?: (event: React.SyntheticEvent) => void; onEnded?: (event: React.SyntheticEvent) => void; onEndedCapture?: (event: React.SyntheticEvent) => void; onLoadedData?: (event: React.SyntheticEvent) => void; onLoadedDataCapture?: (event: React.SyntheticEvent) => void; onLoadedMetadata?: (event: React.SyntheticEvent) => void; onLoadedMetadataCapture?: (event: React.SyntheticEvent) => void; onLoadStart?: (event: React.SyntheticEvent) => void; onLoadStartCapture?: (event: React.SyntheticEvent) => void; onPause?: (event: React.SyntheticEvent) => void; onPauseCapture?: (event: React.SyntheticEvent) => void; onPlay?: (event: React.SyntheticEvent) => void; onPlayCapture?: (event: React.SyntheticEvent) => void; onPlaying?: (event: React.SyntheticEvent) => void; onPlayingCapture?: (event: React.SyntheticEvent) => void; onProgress?: (event: React.SyntheticEvent) => void; onProgressCapture?: (event: React.SyntheticEvent) => void; onRateChange?: (event: React.SyntheticEvent) => void; onRateChangeCapture?: (event: React.SyntheticEvent) => void; onSeeked?: (event: React.SyntheticEvent) => void; onSeekedCapture?: (event: React.SyntheticEvent) => void; onSeeking?: (event: React.SyntheticEvent) => void; onSeekingCapture?: (event: React.SyntheticEvent) => void; onStalled?: (event: React.SyntheticEvent) => void; onStalledCapture?: (event: React.SyntheticEvent) => void; onSuspend?: (event: React.SyntheticEvent) => void; onSuspendCapture?: (event: React.SyntheticEvent) => void; onTimeUpdate?: (event: React.SyntheticEvent) => void; onTimeUpdateCapture?: (event: React.SyntheticEvent) => void; onVolumeChange?: (event: React.SyntheticEvent) => void; onVolumeChangeCapture?: (event: React.SyntheticEvent) => void; onWaiting?: (event: React.SyntheticEvent) => void; onWaitingCapture?: (event: React.SyntheticEvent) => void; onAuxClick?: (event: React.MouseEvent) => void; onAuxClickCapture?: (event: React.MouseEvent) => void; onClickCapture?: (event: React.MouseEvent) => void; onContextMenu?: (event: React.MouseEvent) => void; onContextMenuCapture?: (event: React.MouseEvent) => void; onDoubleClick?: (event: React.MouseEvent) => void; onDoubleClickCapture?: (event: React.MouseEvent) => void; onDrag?: (event: React.DragEvent) => void; onDragCapture?: (event: React.DragEvent) => void; onDragEnd?: (event: React.DragEvent) => void; onDragEndCapture?: (event: React.DragEvent) => void; onDragEnter?: (event: React.DragEvent) => void; onDragEnterCapture?: (event: React.DragEvent) => void; onDragExit?: (event: React.DragEvent) => void; onDragExitCapture?: (event: React.DragEvent) => void; onDragLeave?: (event: React.DragEvent) => void; onDragLeaveCapture?: (event: React.DragEvent) => void; onDragOver?: (event: React.DragEvent) => void; onDragOverCapture?: (event: React.DragEvent) => void; onDragStart?: (event: React.DragEvent) => void; onDragStartCapture?: (event: React.DragEvent) => void; onDrop?: (event: React.DragEvent) => void; onDropCapture?: (event: React.DragEvent) => void; onMouseDown?: (event: React.MouseEvent) => void; onMouseDownCapture?: (event: React.MouseEvent) => void; onMouseEnter?: (event: React.MouseEvent) => void; onMouseLeave?: (event: React.MouseEvent) => void; onMouseMove?: (event: React.MouseEvent) => void; onMouseMoveCapture?: (event: React.MouseEvent) => void; onMouseOut?: (event: React.MouseEvent) => void; onMouseOutCapture?: (event: React.MouseEvent) => void; onMouseOverCapture?: (event: React.MouseEvent) => void; onMouseUp?: (event: React.MouseEvent) => void; onMouseUpCapture?: (event: React.MouseEvent) => void; onSelect?: (event: React.SyntheticEvent) => void; onSelectCapture?: (event: React.SyntheticEvent) => void; onTouchCancel?: (event: React.TouchEvent) => void; onTouchCancelCapture?: (event: React.TouchEvent) => void; onTouchEnd?: (event: React.TouchEvent) => void; onTouchEndCapture?: (event: React.TouchEvent) => void; onTouchMove?: (event: React.TouchEvent) => void; onTouchMoveCapture?: (event: React.TouchEvent) => void; onTouchStart?: (event: React.TouchEvent) => void; onTouchStartCapture?: (event: React.TouchEvent) => void; onPointerDown?: (event: React.PointerEvent) => void; onPointerDownCapture?: (event: React.PointerEvent) => void; onPointerMove?: (event: React.PointerEvent) => void; onPointerMoveCapture?: (event: React.PointerEvent) => void; onPointerUp?: (event: React.PointerEvent) => void; onPointerUpCapture?: (event: React.PointerEvent) => void; onPointerCancel?: (event: React.PointerEvent) => void; onPointerCancelCapture?: (event: React.PointerEvent) => void; onPointerEnter?: (event: React.PointerEvent) => void; onPointerEnterCapture?: (event: React.PointerEvent) => void; onPointerLeave?: (event: React.PointerEvent) => void; onPointerLeaveCapture?: (event: React.PointerEvent) => void; onPointerOver?: (event: React.PointerEvent) => void; onPointerOverCapture?: (event: React.PointerEvent) => void; onPointerOut?: (event: React.PointerEvent) => void; onPointerOutCapture?: (event: React.PointerEvent) => void; onGotPointerCapture?: (event: React.PointerEvent) => void; onGotPointerCaptureCapture?: (event: React.PointerEvent) => void; onLostPointerCapture?: (event: React.PointerEvent) => void; onLostPointerCaptureCapture?: (event: React.PointerEvent) => void; onScroll?: (event: React.UIEvent) => void; onScrollCapture?: (event: React.UIEvent) => void; onWheel?: (event: React.WheelEvent) => void; onWheelCapture?: (event: React.WheelEvent) => void; onAnimationStart?: (event: React.AnimationEvent) => void; onAnimationStartCapture?: (event: React.AnimationEvent) => void; onAnimationEnd?: (event: React.AnimationEvent) => void; onAnimationEndCapture?: (event: React.AnimationEvent) => void; onAnimationIteration?: (event: React.AnimationEvent) => void; onAnimationIterationCapture?: (event: React.AnimationEvent) => void; onTransitionEnd?: (event: React.TransitionEvent) => void; onTransitionEndCapture?: (event: React.TransitionEvent) => void; }, HTMLElement>; } export default BaseLink;