import { CSSProperties, ReactElement, ReactNode } from 'react';

export type SimpleLayoutProps = {
	className?: string;
	style?: CSSProperties;
	title?: string | ReactElement;
	desc?: string | ReactElement | string[] | ReactElement[];
	/**
	 * @deprecated 已过期，请使用form className 属性 preDefinedClassName.form.xxx
	 */
	formLabelAlign?: "left" | "right";
	/**
	 * layoutType 布局类型
	 * ```
	 * 1. layer：分层布局
	 * 2. tight：紧凑布局（没有外边距）
	 * ```
	 */
	layoutType?: "layer" | "tight";
	titleLeftLine?: boolean;
	titleStyle?: CSSProperties;
	contentStyle?: CSSProperties;
	/** 优先级大于 style padding */
	padding?: CSSProperties["padding"];
	/** 优先级大于 style width */
	width?: CSSProperties["width"];
	children?: ReactNode | ReactNode[];
	titleExtra?: string | ReactElement;
	hidden?: boolean;
	titleFixed?: boolean;
	/**
	 * 间距尺寸
	 * 1. default = 15
	 * 2. small = 8
	 */
	size?: "default" | "small";
	onClick?: (event: any) => void;
};
/**
 * 简单布局
 * @deprecated 已过期，使用 CardLayout 组件替代
 * ```
 * 1. layoutType 布局类型
 *    layer：分层布局
 *    tight：紧凑布局（没有外边距）
 * ```
 */
export declare const SimpleLayout: {
	(props: SimpleLayoutProps): import("react").JSX.Element;
	defaultProps: {
		titleLeftLine: boolean;
		layoutType: string;
	};
};

export {};
