UNPKG

@paydock/client-sdk

Version:

Paydock client sdk

34 lines 1.22 kB
import { Container } from '../../components/container'; import { EventEmitter } from '../../helper/event-emitter'; import { ApiInternal } from "../../api/api-internal"; import { IFrame } from "../../components/iframe"; import { IEventData, IFrameEvent } from "../../components/iframe-event"; import { Link } from '../../components/link'; export interface IEventSizeData extends IEventData { height: number; } export declare const MESSAGE_WIDGET_STYLE: { TEXT_COLOR: string; FONT_SIZE: string; FONT_FAMILY: string; }; export declare class Message { protected title: string; protected message: string; protected type: 'success' | 'error' | 'in_review'; protected window: Window; protected eventEmitter: EventEmitter; protected container: Container; protected env: string; protected alias?: string; protected api: ApiInternal; protected iFrame: IFrame; protected event: IFrameEvent; protected link: Link; constructor(selector: string, title: string, message: string, type: 'success' | 'error' | 'in_review'); setEnv(env: string): void; setStyles(styles: any): void; load(): void; useAutoResize(): void; } //# sourceMappingURL=message.d.ts.map