/************
Processor: ts
************/
import __beyond_dep_def_0 from 'react';
import * as __beyond_dep_ns_1 from 'pragmate-ui/base';
// alert.tsx
declare namespace ns_0 {
import React = __beyond_dep_def_0;
import IProps = ns_2.IProps;
export function Alert({
message,
className,
type,
title,
children,
closable,
onClose,
icon
}: IProps): React.JSX.Element;
}
// content.tsx
declare namespace ns_1 {
import React = __beyond_dep_def_0;
export function Content({
message,
children,
title,
icon
}: {
message: any;
children: any;
title: any;
icon: any;
}): React.JSX.Element;
}
// types.ts
declare namespace ns_2 {
///
import IPUIProps = __beyond_dep_ns_1.IPUIProps;
export interface IProps extends Omit, 'icon'> {
show?: boolean;
className?: string;
type?: string;
message?: string;
title?: string;
closable?: boolean;
onClose?: () => boolean | Promise;
children?: React.ReactNode;
icon?: boolean | string;
}
export interface IIconMap {
[key: string]: string;
}
export type AlertAttributes = {
onClick?: (e: React.MouseEvent) => void;
className: string;
};
export enum ITypes {
Error = "error",
Warning = "warning",
Success = "success",
Info = "info",
}
export const IAlertTypes: typeof ITypes;
}
export import Alert = ns_0.Alert;
export import ITypes = ns_2.ITypes;
export import IAlertTypes = ns_2.IAlertTypes;
export declare const hmr: {on: (event: string, listener: any) => void, off: (event: string, listener: any) => void };