import { h } from 'preact'; interface ScrollingTextProps { text: string; containerClassName?: string; textClassName?: string; } /** * 一个当文本内容超出容器宽度时,会自动来回滚动的文本组件。 */ export declare function ScrollingText({ text, containerClassName, textClassName }: ScrollingTextProps): h.JSX.Element; export {};