import type { ViewProps } from "@tarojs/components/types/View"; import { type ReactNode } from "react"; export type LoadingType = "circular" | "spinner"; type LoadingDirection = "horizontal" | "vertical"; export interface LoadingProps extends ViewProps { className?: string; size?: number | string; type?: LoadingType; direction?: LoadingDirection; children?: ReactNode; } export default function Loading(props: LoadingProps): JSX.Element; export {};