import { AnimationTriggerMetadata } from '@angular/animations'; import { ApiDefinition } from '@tstdl/base/api'; import { ApiClient } from '@tstdl/base/api/client'; import * as i0 from '@angular/core'; import { OnInit, OnChanges, OnDestroy, AfterViewInit, AfterContentInit, AfterViewChecked, AfterContentChecked, SimpleChanges, SimpleChange, ElementRef, Renderer2, ChangeDetectorRef, TemplateRef, Signal, ResourceOptions, ResourceRef, ViewContainerRef, EventEmitter, PipeTransform, SecurityContext, ApplicationRef, NgZone, ErrorHandler, WritableSignal, Provider, EnvironmentProviders } from '@angular/core'; import { CancellationSignal } from '@tstdl/base/cancellation'; import { TypedOmit, PropertiesOfType, Record as Record$1, Enumeration, EnumerationValue, SimplifyObject, SimplifiedLiteralUnion } from '@tstdl/base/types'; import * as rxjs from 'rxjs'; import { Observable, ReadableStreamLike, OperatorFunction, MonoTypeOperatorFunction } from 'rxjs'; import { ControlValueAccessor } from '@angular/forms'; import { HttpClientAdapter, HttpClientRequest, HttpClientResponse } from '@tstdl/base/http'; import { DateTime, DateTimeFormatOptions, LocaleOptions, Duration, DurationObjectUnits, DurationOptions, DateTimeJSOptions } from 'luxon'; import { DynamicText, LocalizationKey, LocalizationData } from '@tstdl/base/text'; import { DomSanitizer, SafeHtml, SafeResourceUrl, SafeUrl, SafeValue } from '@angular/platform-browser'; import { SerializationOptions } from '@tstdl/base/serializer'; import { FormatErrorOptions } from '@tstdl/base/utils'; import { InputType, InputMode, InputAttributes, TextAreaAttributes } from '@tstdl/base/web-types'; import { ResolveFn, Router, ActivatedRoute, NavigationExtras } from '@angular/router'; import { Tagged } from 'type-fest'; import { SIGNAL } from '@angular/core/primitives/signals'; export { SIGNAL } from '@angular/core/primitives/signals'; type AnimationOptions = { trigger?: string; duration?: number | string; delay?: number | string; ease?: string; }; type CollapseAnimationOptions = AnimationOptions & { width?: boolean; height?: boolean; opacity?: boolean; scale?: boolean; /** * @default 'void => *, true <=> *' */ stateTransition?: string; }; declare function collapseAnimation(options?: CollapseAnimationOptions): AnimationTriggerMetadata; declare function fadeInOutAnimation(options?: AnimationOptions & { targetOpacity?: number; }): AnimationTriggerMetadata; declare function widthAnimation(options?: AnimationOptions & { defaultWidth?: string; }): AnimationTriggerMetadata; declare function heightAnimation(options?: AnimationOptions & { defaultHeight?: string; }): AnimationTriggerMetadata; declare function slideInOutAnimation(options?: AnimationOptions & { direction?: 'left' | 'right'; }): AnimationTriggerMetadata; declare function getAnimateTimings(options?: AnimationOptions): string; declare function getApiService(baseName: string, apiDefinition: T): ApiClient; type TypedSimpleChange = TypedOmit & { previousValue: T; currentValue: T; }; type ParentProperties = Exclude; declare class LifecycleUtils implements OnInit, OnChanges, OnDestroy, AfterViewInit, AfterContentInit, AfterViewChecked, AfterContentChecked { #private; private readonly initSubject; private readonly destroySubject; private readonly changesSubject; private readonly viewInitSubject; private readonly contentInitSubject; private readonly viewCheckedSubject; private readonly contentCheckedSubject; private readonly ionViewWillEnterSubject; private readonly ionViewDidEnterSubject; private readonly ionViewWillLeaveSubject; private readonly ionViewDidLeaveSubject; /** * emits on `ngOnInit`. Also emits if subscribed afterwards * @see {@link OnInit} */ readonly init$: Observable; /** * emits on `ngOnChanges` * @see {@link OnChanges} */ readonly changes$: Observable; /** * emits on `ngOnDestroy`. Also emits if subscribed afterwards * @see {@link OnDestroy} */ readonly destroy$: Observable; /** * emits on `ngAfterViewInit`. Also emits if subscribed afterwards * @see {@link AfterViewInit} */ readonly viewInit$: Observable; /** * emits on `ngAfterContentInit`. Also emits if subscribed afterwards * @see {@link AfterContentInit} */ readonly contentInit$: Observable; /** * emits on `ngAfterViewChecked` * @see {@link AfterViewChecked} */ readonly viewChecked$: Observable; /** * emits on `ngAfterContentChecked` * @see {@link AfterContentChecked} */ readonly contentChecked$: Observable; /** * emits on `ionViewWillEnter` */ readonly ionViewWillEnter$: Observable; /** * emits on `ionViewDidEnter` */ readonly ionViewDidEnter$: Observable; /** * emits on `ionViewWillLeave` */ readonly ionViewWillLeave$: Observable; /** * emits on `ionViewDidLeave` */ readonly ionViewDidLeave$: Observable; /** * {@link CancellationToken} bound to {@link destroy$} */ get destroySignal(): CancellationSignal; constructor(); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; ngAfterViewInit(): void; ngAfterContentInit(): void; ngAfterViewChecked(): void; ngAfterContentChecked(): void; ionViewWillEnter(): void; ionViewDidEnter(): void; ionViewWillLeave(): void; ionViewDidLeave(): void; observeChanges>(property: Property): Observable>; observe>(property: Property): Observable; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵprov: i0.ɵɵInjectableDeclaration>; } declare class TstdlColoredProgressbarComponent extends LifecycleUtils { progress: number | undefined; rounded: boolean; get backgroundColor(): string; get progressbarColor(): string; get width(): string; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TstdlIndeterminateProgressBarComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TstdlMarkdownComponent { markdown: string | null | undefined; get markdownHtml(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TstdlSkeletonComponent { dark: boolean | undefined; get light(): boolean; width: string | null | undefined; height: string | null | undefined; borderRadius: string | null | undefined; pulseSize: string | null | undefined; pulseScale: number | string | null | undefined; pulseDuration: string | null | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AutoIdDirective { private readonly elementRef; private readonly renderer; get id(): string; constructor(elementRef: ElementRef, renderer: Renderer2); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class AutoForDirective implements OnChanges { private readonly elementRef; private readonly renderer; autoFor: AutoIdDirective | null | undefined; constructor(elementRef: ElementRef, renderer: Renderer2); ngOnChanges(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class DateInputControlValueAccessor implements ControlValueAccessor { #private; private onTouched; private onChange; readonly valueType: i0.ModelSignal<"value" | "valueAsNumber" | "valueAsDate">; onBlur(): void; onInputChange(): void; registerOnTouched(fn: typeof this.onTouched): void; registerOnChange(fn: typeof this.onChange): void; writeValue(value: Date | string | number): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class DragDirective { readonly clearData: i0.InputSignal; readonly allowedEffect: i0.InputSignal<"link" | "all" | "none" | "copy" | "copyLink" | "copyMove" | "linkMove" | "move" | "uninitialized">; readonly image: i0.InputSignal; readonly imageCoordinates: i0.InputSignal<[x: number, y: number] | undefined>; readonly format: i0.InputSignal; readonly data: i0.InputSignal | undefined>; readonly start: i0.OutputEmitterRef; readonly drag: i0.OutputEmitterRef; readonly end: i0.OutputEmitterRef; readonly dragging: i0.WritableSignal; onDrag(event: DragEvent): void; onDragStart(event: DragEvent): void; onDragEnd(event: DragEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class DropDirective { #private; readonly effect: i0.InputSignal<"link" | "none" | "copy" | "move" | undefined>; readonly enter: i0.OutputEmitterRef; readonly leave: i0.OutputEmitterRef; readonly over: i0.OutputEmitterRef; readonly dropped: i0.OutputEmitterRef; readonly itemsDropped: i0.OutputEmitterRef; readonly filesDropped: i0.OutputEmitterRef; readonly entered: i0.Signal; readonly isOver: i0.Signal; onDragEnter(event: DragEvent): void; onDragOver(event: DragEvent): void; onDragLeave(event: DragEvent): void; onDrop(event: DragEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class FilterHelperDirective { readonly filterValues: i0.InputSignal; readonly filterSelector: i0.InputSignal | (() => string) | undefined>; readonly filter: i0.ModelSignal; readonly normalizedFilterValues: i0.Signal<{ value: T; searchValue: string; }[]>; readonly filteredValues: i0.Signal; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[tslFilterHelper]", ["filterHelper"], { "filterValues": { "alias": "filterValues"; "required": false; "isSignal": true; }; "filterSelector": { "alias": "filterSelector"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; }, { "filter": "filterChange"; }, never, never, true, never>; } declare class InputPatternDirective implements OnInit { private readonly element; private readonly pattern; readonly firstMatchOnly: i0.InputSignalWithTransform; readonly tslInputPattern: i0.InputSignal; lastKnownValue: string; ngOnInit(): void; onChange(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } type ElementOrElementRef = Element | ElementRef; declare class LazyListDirective extends LifecycleUtils> implements AfterViewInit { private readonly changeDetector; private readonly scrollElementSubject; private checking; private readonly scrollElement$; private readonly observeElement$; items: T[]; /** * Items to lazily append to {@link items} */ source: T[]; /** * How many items to add at the first tick * @default 1 */ initialSize: number; /** * How many items to add at once per tick * @default 1 */ batchSize: number; /** * How far to preload items. Percentage of scroll elements client height * @default 50 */ margin: number; /** * Element to observe for scrolling and load items when at end */ scrollElement: ElementOrElementRef | undefined; /** * Element to observe for intersection with the scroll element to trigger at tick */ observeElement: ElementOrElementRef | undefined; get thresholdReached(): boolean; get hasAll(): boolean; constructor(elementRef: ElementRef, changeDetector: ChangeDetectorRef); ngAfterViewInit(): void; check(): Promise; add(): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[tslLazyList]", ["lazyList"], { "source": { "alias": "tslLazyList"; "required": false; }; "initialSize": { "alias": "lazyInitialSize"; "required": false; }; "batchSize": { "alias": "lazyBatchSize"; "required": false; }; "margin": { "alias": "lazyMargin"; "required": false; }; "scrollElement": { "alias": "lazyScrollElement"; "required": false; }; "observeElement": { "alias": "lazyObserveElement"; "required": false; }; }, {}, never, never, true, never>; } /** * Lazily render the element when it intersects the viewport (default) or specified {@link root} element. * {@link rootMargin} (default 25%) and {@link threshold} (0) can be specified. * Uses a div of size {@link intrinsicWidth} and {@link intrinsicHeight} to track visibility using {@link IntersectionObserver} */ declare class LazyDirective implements OnDestroy { private readonly destroyRef; private readonly templateRef; private readonly viewContainer; private readonly elementRef; private readonly renderer; private readonly changeDetector; private intersectionTracker; private initialTemplateView; readonly root: i0.InputSignal; readonly rootMargin: i0.InputSignal; readonly threshold: i0.InputSignalWithTransform; readonly intrinsicWidth: i0.InputSignal; readonly intrinsicHeight: i0.InputSignal; /** * Template to render before actual deferred view. Useful for eg. for skeletons. * Should be lightweight/fast to render */ readonly initialTemplate: i0.InputSignal | null | undefined>; /** * Insert intersection tracker * true: insert even if `initialTemplate` is provided, * false: only insert if no initialTemplate is provided (default) */ readonly tracker: i0.InputSignalWithTransform; constructor(); ngOnDestroy(): void; private removeTracker; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } type LetContext = { $implicit: LetOutput; tslLet: LetOutput; isComplete: boolean; hasError: boolean; error: any; }; type LetAsyncInput = Observable | AsyncIterable | PromiseLike | ReadableStreamLike | Signal; type LetInput = LetAsyncInput | T; type LetOutput = T extends LetAsyncInput ? U : T; declare class LetDirective implements OnDestroy { static ngTemplateGuard_tslLet: 'binding'; private readonly template; private readonly viewContainer; private readonly changeDetector; private readonly injector; private readonly errorHandler; private readonly inputSubject; private readonly viewContext; private readonly subscription; private embeddedView; set tslLet(observableInput: LetInput); static ngTemplateContextGuard(_directive: LetDirective, _context: LetContext): _context is LetContext; next(value: LetOutput): void; error(error: unknown): void; complete(): void; updateEmbeddedView(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[tslLet]", never, { "tslLet": { "alias": "tslLet"; "required": false; }; }, {}, never, never, true, never>; } /** * Wrapper for angulars {@link resource} which raises errors to {@link ErrorHandler} * @param options * @returns */ declare function errorHandledResource(options: ResourceOptions & { defaultValue: NoInfer; }): ResourceRef; declare function errorHandledResource(options: ResourceOptions): ResourceRef; type RouteDataDefinition = { [P in keyof T]: T[P] | ResolveFn; }; declare function routeData(definition: RouteDataDefinition): RouteDataDefinition; declare function numberTransform(value: any): number | null; declare function booleanTransform(value: any): boolean | null; declare function numberTransformWithFallback(fallback: F): (value: any) => number | F; declare function booleanTransformWithFallback(fallback: F): (value: any) => boolean | F; interface RepeatContext { $implicit: number; index: number; } declare class RepeatDirective extends LifecycleUtils { /** how many times to repeat */ tslRepeat: number; constructor(templateRef: TemplateRef, viewContainer: ViewContainerRef, changeDetector: ChangeDetectorRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class VisibilityObserverDirective implements OnDestroy, OnInit, OnChanges { private readonly renderer; private readonly isVisibleSubject; private readonly visibilitySubject; private observer; readonly elementRef: ElementRef; readonly isVisible$: Observable; readonly visibility$: Observable; dataAttribute: string | undefined; treshold: number; margin: string; root: HTMLElement | number | null | undefined; visible: EventEmitter; isVisibleChanged: EventEmitter; visibilityChanged: EventEmitter; get isVisible(): boolean; get visibility(): number; constructor(elementRef: ElementRef, renderer: Renderer2); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; onObserve(entries: IntersectionObserverEntry[]): void; ngOnDestroy(): void; private setupObserver; private unobserve; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class AngularHttpClientAdapter implements HttpClientAdapter { private readonly angularHttpClient; call(request: HttpClientRequest): Promise; } declare function configureAngularHttpClientAdapter(): void; declare class DateTimeLocalePipe implements PipeTransform { transform(input: Date | DateTime | number | null | undefined, format?: keyof typeof DateTime | DateTimeFormatOptions, options?: LocaleOptions): string | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class DateTimeToDatePipe implements PipeTransform { transform(value: DateTime | null | undefined): Date | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class DateTimePipe implements PipeTransform { transform(input: Date | DateTime | number | null | undefined, format: string, options?: DateTimeFormatOptions): string | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class DecyclePipe implements PipeTransform { transform(value: unknown, replacer?: (value: any) => any): unknown; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class DurationPipe implements PipeTransform { transform(millisecondsOrObject: number | Duration | DurationObjectUnits | null | undefined, format: string, options?: DurationOptions, formatOptions?: Parameters[1]): string | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class DynamicTextPipe implements PipeTransform { #private; transform(value: DynamicText | null | undefined): string | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class LocalizeEnumPipe implements PipeTransform { #private; transform(enumeration: T, parameters?: unknown): string | null; transform(value: EnumerationValue | null | undefined, enumeration: T, parameters?: unknown): string | null; private updateInputs; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class LocalizePipe implements PipeTransform { #private; transform(localizationKey: LocalizationKey | null | undefined): string | null; transform(localizationData: LocalizationData | null | undefined): string | null; transform(localizationKey: LocalizationKey | null | undefined, parameters: Parameters): string | null; private updateInputs; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class NumberLocalePipe implements PipeTransform { transform(value: number | null | undefined, locales: string | string[], options?: Intl.NumberFormatOptions): string | null; transform(value: number | null | undefined, options?: Intl.NumberFormatOptions | null): string | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class NumericDateToDateTimePipe implements PipeTransform { transform(value: number | null | undefined, options?: DateTimeJSOptions): DateTime | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class NumericTimeToDateTimePipe implements PipeTransform { transform(numericTime: number | null | undefined, options?: DateTimeJSOptions): DateTime | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class OptionalLocalizePipe extends LocalizePipe implements PipeTransform { transform(localizationKeyOrString: LocalizationKey | string | null | undefined): string | null; transform(localizationDataOrString: LocalizationData | string | null | undefined): string | null; transform(localizationKeyOrString: LocalizationKey | string | null | undefined, parameters: Parameters): string | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class PadPipe implements PipeTransform { transform(input: string | number, length: number, fillString?: string | number, position?: 'start' | 'end'): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class SafeHtmlPipe implements PipeTransform { private readonly domSanitizer; constructor(domSanitizer: DomSanitizer); transform(html: string | null | undefined): SafeHtml | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class SafeResourceUrlPipe implements PipeTransform { private readonly domSanitizer; constructor(domSanitizer: DomSanitizer); transform(url: string | null | undefined): SafeResourceUrl | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class SafeUrlPipe implements PipeTransform { private readonly domSanitizer; constructor(domSanitizer: DomSanitizer); transform(url: string | null | undefined): SafeUrl | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class SanitizePipe implements PipeTransform { private readonly domSanitizer; constructor(domSanitizer: DomSanitizer); transform(url: string | SafeValue | null | undefined, context: SecurityContext): string | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class SerializePipe implements PipeTransform { transform(value: unknown, options?: SerializationOptions): unknown; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class ToObservablePipe implements PipeTransform { private readonly injector; private source; private observable; transform(source: Signal): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class AppStabilizationService { private readonly applicationRef; private readonly ngZone; readonly state$: Observable; constructor(applicationRef: ApplicationRef, ngZone: NgZone); wait$(state?: boolean): Observable; wait(state?: boolean): Promise; private getStateObservable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ApplicationTickService { private readonly applicationRef; private scheduled; schedule(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ErrorHandlerServiceOptions { format?: FormatErrorOptions; } declare abstract class ErrorHandlerMessageService { #private; private readonly format; getErrorMessage(error: unknown): { header?: DynamicText; message: DynamicText; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ErrorHandlerService implements ErrorHandler { private readonly notificationService; private readonly errorHandlerMessageService; private readonly logger; private readonly errorSubject; private readonly notifiedErrors; readonly error$: rxjs.Observable; handleError$(): OperatorFunction; handleError(error: unknown): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } type MessageBoxInputs = Record$1; type MessageBoxResult = { dismissed: false; actionValue: T; inputs: MessageBoxInputsOutput; } | { dismissed: true; actionValue: D; inputs: MessageBoxInputsOutput; }; type MessageBoxInputsOutput = { [P in keyof T]: T[P]['required'] extends true ? MessageBoxInputOutput : (MessageBoxInputOutput | null); }; type MessageBoxInputOutput = T extends (MessageBoxTextInput | MessageBoxTextAreaInput) ? string : T extends MessageBoxSelectInput ? U : never; type MessageBoxAction = { text: DynamicText; value?: T; disableOnInvalidInputs?: boolean; handler?: (value: T, inputs: MessageBoxInputsOutput) => any | Promise; }; type NotificationType = 'info' | 'success' | 'warning' | 'error'; type MessageBoxInputBase = { type: Type; enabled?: boolean; required?: boolean; }; type MessageBoxTextInput = MessageBoxInputBase<'text'> & { inputType?: InputType; mode?: InputMode; label?: DynamicText; placeholder?: DynamicText; initialValue?: any; pattern?: string | RegExp; attributes?: TypedOmit; validator?: (value: any) => boolean; }; type MessageBoxTextAreaInput = MessageBoxInputBase<'text-area'> & { label?: DynamicText; placeholder?: DynamicText; initialValue?: any; pattern?: string | RegExp; attributes?: TypedOmit; validator?: (value: any) => boolean; }; type MessageBoxSelectInputItem = { label: DynamicText; value: T; }; type MessageBoxSelectInput = MessageBoxInputBase<'select'> & { items: MessageBoxSelectInputItem[]; label?: DynamicText; initialValue?: T; }; type MessageBoxInput = MessageBoxTextInput | MessageBoxTextAreaInput | MessageBoxSelectInput; type MessageBoxData = { type?: NotificationType; header?: DynamicText; subHeader?: DynamicText; message?: DynamicText; actions?: MessageBoxAction[]; inputs?: I; dismiss?: D; }; type NotifyData = { type?: NotificationType; header?: DynamicText; message: DynamicText; duration?: number; }; declare abstract class NotificationService { abstract openMessageBox, D = undefined>(data: MessageBoxData): Promise>; abstract notify(data: NotifyData): void; } declare function messageBoxTextInput>(input: T): SimplifyObject<{ type: 'text'; } & T>; declare function messageBoxTextAreaInput>(input: T): SimplifyObject<{ type: 'text-area'; } & T>; declare function messageBoxSelectInput, 'type'>>(input: U): SimplifyObject<{ type: 'select'; } & U>; declare function isMessageBoxTextInput(input: MessageBoxInput): input is MessageBoxTextInput; declare function isMessageBoxTextAreaInput(input: MessageBoxInput): input is MessageBoxTextAreaInput; declare function isMessageBoxSelectInput(input: MessageBoxInput): input is MessageBoxSelectInput; type TransformOptions = { transform?: ((value: T) => TTransform) | { fromString: (value: T) => TTransform; toString?: (value: TTransform) => T; }; }; type WithTransformOptions = Required>; type WithoutTransformOptions = TypedOmit, 'transform'> & { transform?: undefined; }; type InjectParameterOptions = { optional?: boolean; }; declare class RoutingService { readonly router: Router; readonly route: ActivatedRoute; setQueryParameter(key: string, value: string | string[] | null): Promise; setQueryParameters(parameters: Record$1, options?: Pick): Promise; setFragment(value: string | null): Promise; } declare function injectRoutingService(): RoutingService; declare function injectParameter(parameter: string, options: InjectParameterOptions & { optional: true; }): Signal | null>; declare function injectParameter(parameter: string, options?: InjectParameterOptions & { optional?: false; }): Signal>; declare function injectParameter$(parameter: string, options: InjectParameterOptions & { optional: true; }): Observable | null>; declare function injectParameter$(parameter: string, options?: InjectParameterOptions & { optional?: false; }): Observable>; declare function injectParameter$(parameter: string, options?: InjectParameterOptions): Observable | null>; declare function injectParameters(parameter: string): Signal[]>; declare function injectParameters$(parameter: string): Observable[]>; declare function injectQueryParameter(parameter: string, options: WithTransformOptions | null, TTransform>): WritableSignal; declare function injectQueryParameter(parameter: string, options?: WithoutTransformOptions): WritableSignal | null>; declare function injectQueryParameter$(parameter: string): Observable | null>; declare function injectQueryParameters(parameter: string, options: WithTransformOptions[], TTransform>): WritableSignal; declare function injectQueryParameters(parameter: string, options?: WithoutTransformOptions): WritableSignal[]>; declare function injectQueryParameters$(parameter: string): Observable[]>; declare function injectFragmet(): WritableSignal; declare function injectFragmet$(): Observable; declare function injectRouteData(): Signal; declare function injectRouteData$(): Observable; declare class TstdlBridgeServiceOptions { debugInjectorWrapper?: boolean; } declare class TstdlAngularModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare function provideTstdlAngular(...providers: Tagged[][]): EnvironmentProviders; declare function withTstdlBridgeServiceOptions(options: TstdlBridgeServiceOptions): Tagged[]; declare module '@tstdl/base/signals' { interface Signal { (): T; [SIGNAL]: unknown; } } declare function waitForAppStabilization(appStabilizationService: AppStabilizationService): MonoTypeOperatorFunction; declare function runInZone(zone: NgZone): MonoTypeOperatorFunction; declare function runOutsideAngular(zone: NgZone): MonoTypeOperatorFunction; declare function runTaskInZone(zone: NgZone): MonoTypeOperatorFunction; declare function runGuardedInZone(zone: NgZone): MonoTypeOperatorFunction; export { AngularHttpClientAdapter, AppStabilizationService, ApplicationTickService, AutoForDirective, AutoIdDirective, DateInputControlValueAccessor, DateTimeLocalePipe, DateTimePipe, DateTimeToDatePipe, DecyclePipe, DragDirective, DropDirective, DurationPipe, DynamicTextPipe, ErrorHandlerMessageService, ErrorHandlerService, ErrorHandlerServiceOptions, FilterHelperDirective, InputPatternDirective, LazyDirective, LazyListDirective, LetDirective, LifecycleUtils, LocalizeEnumPipe, LocalizePipe, NotificationService, NumberLocalePipe, NumericDateToDateTimePipe, NumericTimeToDateTimePipe, OptionalLocalizePipe, PadPipe, RepeatDirective, RoutingService, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, SanitizePipe, SerializePipe, ToObservablePipe, TstdlAngularModule, TstdlBridgeServiceOptions, TstdlColoredProgressbarComponent, TstdlIndeterminateProgressBarComponent, TstdlMarkdownComponent, TstdlSkeletonComponent, VisibilityObserverDirective, booleanTransform, booleanTransformWithFallback, collapseAnimation, configureAngularHttpClientAdapter, fadeInOutAnimation, getAnimateTimings, getApiService, heightAnimation, injectFragmet, injectFragmet$, injectParameter, injectParameter$, injectParameters, injectParameters$, injectQueryParameter, injectQueryParameter$, injectQueryParameters, injectQueryParameters$, injectRouteData, injectRouteData$, injectRoutingService, isMessageBoxSelectInput, isMessageBoxTextAreaInput, isMessageBoxTextInput, messageBoxSelectInput, messageBoxTextAreaInput, messageBoxTextInput, numberTransform, numberTransformWithFallback, provideTstdlAngular, errorHandledResource as resource, routeData, runGuardedInZone, runInZone, runOutsideAngular, runTaskInZone, slideInOutAnimation, waitForAppStabilization, widthAnimation, withTstdlBridgeServiceOptions }; export type { AnimationOptions, CollapseAnimationOptions, InjectParameterOptions, LetContext, MessageBoxAction, MessageBoxData, MessageBoxInput, MessageBoxInputOutput, MessageBoxInputs, MessageBoxInputsOutput, MessageBoxResult, MessageBoxSelectInput, MessageBoxSelectInputItem, MessageBoxTextAreaInput, MessageBoxTextInput, NotificationType, NotifyData, RepeatContext, RouteDataDefinition, TransformOptions, TypedSimpleChange };