import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core'; import { FormBuilder } from '@angular/forms'; import { ConfigurableOperation, ConfigurableOperationDefinition, DataService, GetPaymentMethodDetailDocument, GetPaymentMethodDetailQuery, LanguageCode, NotificationService, Permission, TypedBaseDetailComponent } from '@vendure/admin-ui/core'; import * as i0 from "@angular/core"; export declare const GET_PAYMENT_METHOD_DETAIL: import("apollo-angular").TypedDocumentNode; export declare class PaymentMethodDetailComponent extends TypedBaseDetailComponent implements OnInit, OnDestroy { private changeDetector; protected dataService: DataService; private formBuilder; private notificationService; customFields: import("@vendure/admin-ui/core").CustomFieldConfig[]; detailForm: import("@angular/forms").FormGroup<{ code: import("@angular/forms").FormControl; name: import("@angular/forms").FormControl; description: import("@angular/forms").FormControl; enabled: import("@angular/forms").FormControl; checker: import("@angular/forms").FormControl<{ __typename?: "ConfigurableOperation"; code: string; args: Array<{ __typename?: "ConfigArg"; name: string; value: string; }>; } | null | undefined>; handler: import("@angular/forms").FormControl<{ __typename?: "ConfigurableOperation"; code: string; args: Array<{ __typename?: "ConfigArg"; name: string; value: string; }>; } | null>; customFields: import("@angular/forms").FormGroup<{ [x: string]: import("@angular/forms").FormControl<{} | null>; }>; }>; checkers: ConfigurableOperationDefinition[]; handlers: ConfigurableOperationDefinition[]; selectedChecker?: ConfigurableOperation | null; selectedCheckerDefinition?: ConfigurableOperationDefinition; selectedHandler?: ConfigurableOperation | null; selectedHandlerDefinition?: ConfigurableOperationDefinition; readonly updatePermission: Permission[]; constructor(changeDetector: ChangeDetectorRef, dataService: DataService, formBuilder: FormBuilder, notificationService: NotificationService); ngOnInit(): void; ngOnDestroy(): void; updateCode(currentCode: string | undefined, nameValue: string): void; selectChecker(checker: ConfigurableOperationDefinition): void; selectHandler(handler: ConfigurableOperationDefinition): void; removeChecker(): void; removeHandler(): void; create(): void; save(): void; /** * Given a PaymentMethod and the value of the detailForm, this method creates an updated copy of it which * can then be persisted to the API. */ private getUpdatedPaymentMethod; protected setFormValues(paymentMethod: NonNullable, languageCode: LanguageCode): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }