import { BooleanInput, NgtColor, NgtCommonMaterial, NgtObjectProps, NgtRenderState, NumberInput, Ref } from '@angular-three/core'; import { EventEmitter, TemplateRef } from '@angular/core'; import { Text as TextMeshImpl } from 'troika-three-text'; import * as i0 from "@angular/core"; export declare class NgtSobaTextContent { templateRef: TemplateRef<{ text: Ref; }>; constructor(templateRef: TemplateRef<{ text: Ref; }>); static ngTemplateContextGuard(dir: NgtSobaTextContent, ctx: any): ctx is { text: Ref; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class NgtSobaText extends NgtObjectProps { set text(text: string); set characters(characters: string); set fontSize(fontSize: NumberInput); set maxWidth(maxWidth: NumberInput); set lineHeight(lineHeight: NumberInput); set letterSpacing(letterSpacing: NumberInput); set textAlign(textAlign: 'left' | 'right' | 'center' | 'justify'); set font(font: string); set anchorX(anchorX: number | 'left' | 'center' | 'right'); set anchorY(anchorY: number | 'top' | 'top-baseline' | 'middle' | 'bottom-baseline' | 'bottom'); set clipRect(clipRect: [number, number, number, number]); set depthOffset(depthOffset: NumberInput); set direction(direction: 'auto' | 'ltr' | 'rtl'); set overflowWrap(overflowWrap: 'normal' | 'break-word'); set whiteSpace(whiteSpace: 'normal' | 'overflowWrap' | 'overflowWrap'); set outlineWidth(outlineWidth: number | string); set outlineOffsetX(outlineOffsetX: number | string); set outlineOffsetY(outlineOffsetY: number | string); set outlineBlur(outlineBlur: number | string); set outlineColor(outlineColor: NgtColor); set outlineOpacity(outlineOpacity: NumberInput); set strokeWidth(strokeWidth: number | string); set strokeColor(strokeColor: NgtColor); set strokeOpacity(strokeOpacity: NumberInput); set fillOpacity(fillOpacity: NumberInput); set debugSDF(debugSDF: BooleanInput); set material(material: THREE.Material | Ref); beforeRender: EventEmitter<{ state: NgtRenderState; object: TextMeshImpl; }>; sync: EventEmitter; content?: NgtSobaTextContent; commonMaterial?: NgtCommonMaterial; get textMesh(): any; protected preInit(): void; ngOnInit(): void; private readonly init; private readonly preloadFont; protected postSetOptions(textMesh: TextMeshImpl): void; protected get optionFields(): Record; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class NgtSobaTextModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }