import { type TemplateResult } from "lit"; import { GlobalStyle } from "../../internal/global-style.js"; /** * {@linkcode Breath} render the text with a breathing effect. * * Dynamically generate a breathing effect based on the length of the split text. * * If there is not enough CSS variable, overrun elements will use the. * * godown was a css library in its earliest days, * and this is the component version of its first effect. * * Inspired by Vercel home page (2023). * * @slot - Breathing parts. * @category effect */ declare class Breath extends GlobalStyle { /** * Strings or array of strings, * if array, divided each element into chunks, * otherwise split strings by whitespace. */ content: string | string[]; /** * Effect duration. */ duration: number; constructor(); protected render(): TemplateResult<1>; protected _renderText(text: string): TemplateResult<1>; protected getTexts(): string[]; protected _computeStyle(len: number): string; } export default Breath; export { Breath };