import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core'; /** * Autofocus any focusable element on-load. * * Passing any truthy value OR an empty string will enable the autofocus. * * @example * * * * https://getterminus.github.io/ui-demos-release/components/autofocus */ export declare class TsAutofocusDirective implements AfterViewInit { private elementRef; private changeDetectorRef; /** * Store the shouldFocus value */ private shouldFocus; /** * Define if the element should be focused after initialization * * @param value */ set tsAutofocus(value: string | boolean); constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef); /** * Focus the input after the view has initialized */ ngAfterViewInit(): void; }