import { TemplateRef } from '@angular/core'; import { PassThroughOption, PassThrough } from 'primeng/api'; /** * Custom pass-through(pt) options. * @template I Type of instance. * * @see {@link BlockUI.pt} * @group Interface */ interface BlockUIPassThroughOptions { /** * Used to pass attributes to the host's DOM element. */ host?: PassThroughOption; /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; } /** * Defines valid pass-through options in BlockUI component. * @see {@link BlockUIPassThroughOptions} * * @template I Type of instance. */ type BlockUIPassThrough = PassThrough>; /** * Defines valid templates in BlockUI. * @group Templates */ interface BlockUITemplates { /** * Custom template of content. */ content(): TemplateRef; } export type { BlockUIPassThrough, BlockUIPassThroughOptions, BlockUITemplates };