@paydock/client-sdk
Version:
Paydock client sdk
14 lines • 780 B
TypeScript
import type { ApiInternal } from '../../api/api-internal';
import type { Checkout } from '../checkout';
import type { Instruction, InstructionDecorated, InstructionDestroyable, InstructionHandler } from '../helpers/instruction-handler';
import type { InstructionModule } from '../helpers/instruction-module';
export interface CheckoutVersionHandler {
instruction: InstructionModule;
widget: WidgetVersionHandler;
}
export interface WidgetVersionHandler {
createWidgetStructure(selector: string): void;
changeLoadingSpinnerVisibility(show: boolean): void;
getInstructionClass(instructionClass: Instruction, api: ApiInternal, checkout: Checkout): InstructionHandler & InstructionDestroyable & InstructionDecorated;
}
//# sourceMappingURL=checkout.models.d.ts.map