import type { PropsWithChildren, ReactNode } from 'react'; import type { ButtonProps as AntdButtonProps, FlexProps } from 'antd'; export type SearchLayoutProps = PropsWithChildren<{ className?: string; /** 显示数据 */ data?: ReactNode; /** 列数 */ span?: number; /** 工具栏 */ toolbar?: ReactNode; /** 是否允许折叠 */ allowCollapse?: boolean; /** 折叠 */ collapse?: boolean; /** 查询文案 */ searchContent?: ReactNode; /** searchButtonProps */ searchButtonProps?: Pick; /** 重置文案 */ resetContent?: ReactNode; /** resetButtonProps */ resetButtonProps?: Pick; /** 折叠文案 */ collapseContent?: ReactNode | ((collapse: boolean) => string); /** 查询按钮事件 */ onSearch?: () => void; /** 禁用折叠 */ disabledSearch?: boolean; /** 重置按钮事件 */ onReset?: () => void; /** 折叠事件 */ onCollapse?: (collapse?: boolean) => void; /** 工具栏跟随 */ toolbarFollow?: boolean; /** loading状态 */ loading?: boolean; /** 列数自适应减1的最小宽度 */ spanMediaMinWidth?: number; /** toolbar的Flex参数 */ toolbarFlexProps?: Omit; /** 保持dom结构 */ keepAlive?: boolean; }>; declare const Component: { (props: SearchLayoutProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default Component;