import { PassThroughOption, PassThrough } from 'primeng/api'; /** * Custom pass-through(pt) options. * @template I Type of instance. * * @see {@link Terminal.pt} * @group Interface */ interface TerminalPassThroughOptions { /** * Used to pass attributes to the host's DOM element. */ host?: PassThroughOption; /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; /** * Used to pass attributes to the welcome message's DOM element. */ welcomeMessage?: PassThroughOption; /** * Used to pass attributes to the command list's DOM element. */ commandList?: PassThroughOption; /** * Used to pass attributes to the command's DOM element. */ command?: PassThroughOption; /** * Used to pass attributes to the prompt label's DOM element. */ promptLabel?: PassThroughOption; /** * Used to pass attributes to the command value's DOM element. */ commandValue?: PassThroughOption; /** * Used to pass attributes to the command response's DOM element. */ commandResponse?: PassThroughOption; /** * Used to pass attributes to the prompt's DOM element. */ prompt?: PassThroughOption; /** * Used to pass attributes to the prompt value's DOM element. */ promptValue?: PassThroughOption; } /** * Defines valid pass-through options in Terminal. * @see {@link TerminalPassThroughOptions} * * @template I Type of instance. */ type TerminalPassThrough = PassThrough>; export type { TerminalPassThrough, TerminalPassThroughOptions };