///
import { CSSProperties } from "react";
import { MyTypes } from "../declarations";
import { FontName, CharacterName } from "../types";
export default function speechBubbles(prendyAssets: T_MyTypes["Assets"]): {
getDefaultState: (_itemId: T_ItemName, options?: {
font?: FontName;
character?: CharacterName;
}) => {
isVisible: boolean;
isFullyHidden: boolean;
goalText: string;
visibleLetterAmount: number;
typingSpeed: number;
stylesBySpecialText: Record;
_specialTextByLetterIndex: Record;
_goalTextWordLetterArrays: string[][];
forCharacter: string | null;
position: import("chootils/dist/points2d").Point2D;
typingFinished: boolean;
nowVideoName: string | null;
font: string;
zIndex: number;
};
getDefaultRefs: () => {
bubbleRef: any;
textRef: any;
currentTimeout: NodeJS.Timeout | null;
videoRef: HTMLVideoElement | null;
};
startStates: {
[x: string]: {
isVisible: boolean;
isFullyHidden: boolean;
goalText: string;
visibleLetterAmount: number;
typingSpeed: number;
stylesBySpecialText: Record;
_specialTextByLetterIndex: Record;
_goalTextWordLetterArrays: string[][];
forCharacter: string | null;
position: import("chootils/dist/points2d").Point2D;
typingFinished: boolean;
nowVideoName: string | null;
font: string;
zIndex: number;
};
};
};