import { OnInit } from '@angular/core'; import { Observable } from 'rxjs'; import { type BrowserInfo, type EscapeOptions } from './index'; /** * Angular Service for InAppBrowserEscaper */ export declare class InAppBrowserEscaperService { private platformId; private browserInfoSubject; private isInAppSubject; browserInfo$: Observable; isInApp$: Observable; constructor(platformId: Object); private initializeDetection; /** * Get current browser information */ getBrowserInfo(): BrowserInfo | null; /** * Check if currently in in-app browser */ isInAppBrowser(): boolean; /** * Get the detected app name */ getAppName(): string | undefined; /** * Attempt to escape from in-app browser */ escape(options?: EscapeOptions): boolean; /** * Copy URL to clipboard */ copyUrlToClipboard(url?: string): Promise; } /** * Angular Directive for InAppBrowserEscaper */ export declare class InAppBrowserEscapeDirective implements OnInit { private inAppBrowserService; escapeOptions?: EscapeOptions; autoEscape: boolean; constructor(inAppBrowserService: InAppBrowserEscaperService); ngOnInit(): void; onClick(): void; } /** * Angular Component for showing escape button */ export declare class InAppBrowserEscapeButtonComponent implements OnInit { private inAppBrowserService; buttonText: string; buttonClass: string; buttonStyle: { [key: string]: string; }; escapeOptions?: EscapeOptions; ariaLabel: string; showButton: boolean; constructor(inAppBrowserService: InAppBrowserEscaperService); ngOnInit(): void; handleEscape(): void; } /** * Angular Module for InAppBrowserEscaper */ export declare class InAppBrowserEscaperModule { } //# sourceMappingURL=angular.d.ts.map