/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { ChangeDetectorRef, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core'; import { Subject } from 'rxjs'; import { NbLayoutDirection, NbLayoutDirectionService } from '../../services/direction.service'; import * as i0 from "@angular/core"; declare abstract class NbBaseLayoutDirectionDirective implements OnInit, OnDestroy { protected templateRef: TemplateRef; protected viewContainer: ViewContainerRef; protected cd: ChangeDetectorRef; protected directionService: NbLayoutDirectionService; protected directionToShow: NbLayoutDirection; protected destroy$: Subject; constructor(templateRef: TemplateRef, viewContainer: ViewContainerRef, cd: ChangeDetectorRef, directionService: NbLayoutDirectionService, directionToShow: NbLayoutDirection); ngOnInit(): void; ngOnDestroy(): void; protected updateView(shouldShow: T): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Apply `nbLtr` directive to the element you need to show only when layout direction is `LTR`. * * ```html *
This text is visible only when layout direction is LTR
* ``` */ export declare class NbLtrDirective extends NbBaseLayoutDirectionDirective { protected templateRef: TemplateRef; protected viewContainer: ViewContainerRef; protected cd: ChangeDetectorRef; protected directionService: NbLayoutDirectionService; constructor(templateRef: TemplateRef, viewContainer: ViewContainerRef, cd: ChangeDetectorRef, directionService: NbLayoutDirectionService); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Apply `nbRtl` directive to the element you need to show only when layout direction is `RTL`. * * ```html *
This text is visible only when layout direction is RTL
* ``` */ export declare class NbRtlDirective extends NbBaseLayoutDirectionDirective { protected templateRef: TemplateRef; protected viewContainer: ViewContainerRef; protected cd: ChangeDetectorRef; protected directionService: NbLayoutDirectionService; constructor(templateRef: TemplateRef, viewContainer: ViewContainerRef, cd: ChangeDetectorRef, directionService: NbLayoutDirectionService); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export {};