import { TWrapper } from '../../Abstract'; import { TextType } from '../Constants'; import { TAbstractTextWrapper } from './TAbstractTextWrapper'; import { Mesh } from 'three'; import { TTextCssProps } from './TTextCssProps'; export type TTextTextureWrapper = TWrapper & Readonly<{ type: TextType; setText: (newText: string) => Promise; getText: () => string; getPropsAsCss: () => Pick; }> & TAbstractTextWrapper;