import * as i0 from "@angular/core"; import { OnDestroy, OnInit } from "@angular/core"; import { AbstractControl } from "@angular/forms"; export declare class CapitalisationDirective implements OnInit, OnDestroy { private readonly destroy$; private readonly utilsService; private readonly document; control: AbstractControl; /** * Captures the focused input or textarea selection before its value is uppercased. * Maps offsets through uppercase prefixes to account for expanding characters, such as ß becoming SS. * Defaults missing selection direction to 'none' for document implementations with incomplete selection support. * * @param value The current control value, which must match the focused input's value. * @returns The input and its mapped selection, or null when the value differs or selection is unsupported. */ private captureSelection; /** * Uppercases a changed control value while preserving the focused input's selection. * * @param value The latest value emitted by the form control. */ private capitaliseControlValue; ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }