UNPKG

auth-mn

Version:
84 lines (83 loc) 1.91 kB
export declare const ShowToast: (body: { user_id: number; type: "info" | "warning"; text: string; }) => Promise<{ success: boolean; data: null; message: string; }>; export declare const ShowStatus: (body: { user_id: number; id: string; type?: "Loading" | "Success" | "Failure"; title?: string; amount?: number | string; desc?: string; footer?: { text: string; buttons: { text: string; fun: "href" | "close" | "exit"; href?: string | null; }[]; }; show?: boolean; expired_date?: Date; start_date?: Date; }) => Promise<{ success: boolean; data: null; message: string; }>; export declare const ShowOrderStatus: (body: { user_id: number; order_id: string; }) => Promise<{ success: boolean; data: null; message: string; }>; declare const _default: { ShowToast: (body: { user_id: number; type: "info" | "warning"; text: string; }) => Promise<{ success: boolean; data: null; message: string; }>; ShowStatus: (body: { user_id: number; id: string; type?: "Loading" | "Success" | "Failure"; title?: string; amount?: number | string; desc?: string; footer?: { text: string; buttons: { text: string; fun: "href" | "close" | "exit"; href?: string | null; }[]; }; show?: boolean; expired_date?: Date; start_date?: Date; }) => Promise<{ success: boolean; data: null; message: string; }>; ShowOrderStatus: (body: { user_id: number; order_id: string; }) => Promise<{ success: boolean; data: null; message: string; }>; }; export default _default;