import { TerminalPassThrough } from "primeng/types/terminal"; import * as i0 from "@angular/core"; import { AfterViewChecked, AfterViewInit, ElementRef } from "@angular/core"; import { BaseComponent } from "primeng/basecomponent"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { BaseStyle } from "primeng/base"; import * as i2 from "primeng/api"; export * from "primeng/types/terminal"; export declare class TerminalStyle extends BaseStyle { name: string; style: string; classes: { root: () => string[]; welcomeMessage: string; commandList: string; command: string; commandValue: string; commandResponse: string; prompt: string; promptLabel: string; promptValue: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * Terminal is a text based user interface. * * [Live Demo](https://www.primeng.org/terminal) * * @module terminalstyle * */ export declare enum TerminalClasses { /** * Class name of the root element */ root = "p-terminal", /** * Class name of the welcome message element */ welcomeMessage = "p-terminal-welcome-message", /** * Class name of the command list element */ commandList = "p-terminal-command-list", /** * Class name of the command element */ command = "p-terminal-command", /** * Class name of the command value element */ commandValue = "p-terminal-command-value", /** * Class name of the command response element */ commandResponse = "p-terminal-command-response", /** * Class name of the prompt element */ prompt = "p-terminal-prompt", /** * Class name of the prompt label element */ promptLabel = "p-terminal-prompt-label", /** * Class name of the prompt value element */ promptValue = "p-terminal-prompt-value" } export declare class TerminalService { private commandSource; private responseSource; commandHandler: import("rxjs").Observable; responseHandler: import("rxjs").Observable; sendCommand(command: string): void; sendResponse(response: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * Terminal is a text based user interface. * @group Components */ export declare class Terminal extends BaseComponent implements AfterViewInit, AfterViewChecked { componentName: string; $pcTerminal: Terminal | undefined; bindDirectiveInstance: Bind; terminalService: TerminalService; private destroyRef; /** * Initial text to display on terminal. * @group Props */ welcomeMessage: import("@angular/core").InputSignal; /** * Prompt text for each command. * @group Props */ prompt: import("@angular/core").InputSignal; /** * Response to display after a command. * @group Props */ response: import("@angular/core").InputSignal; commands: any[]; command: string; container: Element; commandProcessed: boolean; _componentStyle: TerminalStyle; inputRef: import("@angular/core").Signal>; onHostClick(): void; constructor(); onAfterViewInit(): void; onAfterViewChecked(): void; handleCommand(event: KeyboardEvent): void; focus(element: HTMLElement): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class TerminalModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }