import 'tdesign-icons-web-components/esm/components/align-top'; import { Component, OmiProps, SignalValue } from 'omi'; import { AttachNode, StyledProps } from '../common'; import { TdBackTopProps } from './type'; export interface BackTopProps extends TdBackTopProps, StyledProps { } interface ClickEventProps { target?: AttachNode; container?: AttachNode; duration?: number; onClick?: OmiProps['onClick']; e: MouseEvent; } export default class BackTop extends Component { static css: any[]; buttonRef: Partial>; containerRef: Partial>; visible: SignalValue; needUninstall: Set; cls: SignalValue; static propTypes: { container: ObjectConstructor; content: (ObjectConstructor | NumberConstructor | FunctionConstructor | StringConstructor)[]; default: ObjectConstructor; duration: NumberConstructor; offset: ObjectConstructor; shape: ObjectConstructor; size: StringConstructor; target: ObjectConstructor; theme: StringConstructor; visibleHeight: ObjectConstructor; onClick: FunctionConstructor; ignoreAttributes: ObjectConstructor; }; static defaultProps: { container: string; duration: number; offset: string[]; shape: string; size: string; target: string; theme: string; visibleHeight: string; }; getBackTo(target: AttachNode, container: AttachNode): number; handleClick(clickEventProps: ClickEventProps): void; ready(): void; uninstall(): void; render(props: OmiProps): JSX.Element; } export {};