import * as i0 from '@angular/core'; import { PipeTransform, AfterViewInit } from '@angular/core'; import { LoggerService } from '@sowatech/shared/logger'; import { Subscription, Subject } from 'rxjs'; import { SharedConfigService } from '@sowatech/shared/shared-config'; import * as _angular_platform_browser from '@angular/platform-browser'; import { DomSanitizer } from '@angular/platform-browser'; import * as i2 from '@angular/common'; declare class BankAccountValidationService { validateBankAccount(iban: string, bic: string): BankAccountValidationFlags; validateBIC(bic: string): boolean; validateIBAN(iban: string): boolean; private mod97; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare enum BankAccountValidationFlags { valid = 0, invalidIBAN = 2, invalidBIC = 4 } declare class BankAccountValidationFlagsHelper { static getErrorTexts(flags: BankAccountValidationFlags): string[]; } declare class CommunicationService { private logger; constructor(logger: LoggerService); static currentHandleCreatorNumber: number; createChannel(): ChannelHandle; sendMessage(handle: ChannelHandle, data: any, messageType?: string): void; subscribeToChannel(handle: ChannelHandle, next?: (value: IMessage) => void, error?: (error: any) => void, complete?: () => void): Subscription; private channels; private getChannel; deleteChannel(handle: ChannelHandle): void; deleteChannels(handles: ChannelHandle[]): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } type ChannelHandle = string; interface IMessage { data: any; messageType?: string; } declare class Message implements IMessage { data: MESSAGEDATA; messageType?: string; constructor(data: MESSAGEDATA, messageType?: string); } declare class I18nService { private config; constructor(config: SharedConfigService); messages: { [key: string]: string; }; private regex; /** * z.B. i18nService.translate("@@Person.UpdateAddress.error.msg.Text:Fehler beim Bearbeiten der Adressdaten"); */ translate(message: string, values?: string[]): string; /** * z.B. i18nService.replace($localize`:@@Person.streetNameIs.msg.Text:Der Straßenname ist $0`, [this.model.streetName]); */ replace(msg: string, values: string[]): string; private localize; concat(dict: { [key: string]: string; }): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class PrintService { private window; private emptyTitle; printNodeById(id: string, title?: string): void; printNode(node: Node, cloneNode?: boolean, title?: string): void; /** * Hack für SHANG-406. * Kann bei Update von `ngx-scrollbar` kaputtgehen. */ private sanitizeNgScrollbarForPrint; private removeElementWithChildren; private removeElementKeepChildren; private print; private getTitleEl; private getStylesFromParentWindow; private addStylesThenPrint; private stylesToBeLoaded; private onStyleLoaded; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class SafeHtmlPipe implements PipeTransform { private sanitizer; constructor(sanitizer: DomSanitizer); transform(html: string): _angular_platform_browser.SafeHtml; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class StateMachineService { createStateMachine(initialState: TSTATE, transitions: ITransition[], finalStates?: TSTATE[]): StateMachine; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class StateMachine { private initialState; private transitions; private finalStates?; constructor(initialState: TSTATE, transitions: ITransition[], finalStates?: TSTATE[]); private _state; set currentState(value: TSTATE); get currentState(): TSTATE; onStateChanged: Subject; onFinalState: Subject; resetState(): void; sendInput(input: TINPUT): void; } interface ITransition { fromState: TSTATE; toState: TSTATE; input: TINPUT; } declare class UtilitiesModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const ensureArray: (arg: T | T[]) => T[]; declare class NgSelectAriaLabelDirective implements AfterViewInit { private readonly elementRef; ariaLabel: i0.InputSignal; id: i0.InputSignal; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export { BankAccountValidationFlags, BankAccountValidationFlagsHelper, BankAccountValidationService, CommunicationService, I18nService, Message, NgSelectAriaLabelDirective, PrintService, SafeHtmlPipe, StateMachine, StateMachineService, UtilitiesModule, ensureArray }; export type { ChannelHandle, IMessage, ITransition };