import { ApplicationRef, EnvironmentInjector, Type } from '@angular/core'; import type { ScreenAudioChoice } from 'mediasfu-shared'; import { ScreenAudioPromptOptions } from './screen-audio-prompt.component'; import * as i0 from "@angular/core"; export interface PromptScreenAudioChoiceOptions extends ScreenAudioPromptOptions { /** * Replace the default dialog. It receives the options as inputs and must emit its answer (`audio`, `video` or * `null`) from an output named `choice`. */ promptComponent?: Type; } /** * Shows the "Share audio too?" choice and resolves with the answer: `audio`, `video` (screen only) or `null` * (cancelled). The room components call it from the click that starts the screen share, so the dialog's own click * can start `getDisplayMedia`. * * @example * ```typescript * const choice = await this.screenAudioPrompt.ask({ isDarkMode: true }); * ``` */ export declare class ScreenAudioPromptService { private appRef; private environmentInjector; constructor(appRef: ApplicationRef, environmentInjector: EnvironmentInjector); ask: (options?: PromptScreenAudioChoiceOptions) => Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }