import type { ViewProps } from "@tarojs/components/types/View"; import { type CSSProperties, type ReactNode } from "react"; import { type NotifyColor } from "./notify.shared"; export interface NotifyProps extends ViewProps { style?: CSSProperties; defaultOpen?: boolean; open?: boolean; duration?: number; type?: NotifyColor; color?: string; background?: string; children?: ReactNode; onClose?(opened: boolean): void; } declare function Notify(props: NotifyProps): JSX.Element; export default Notify;