import { ColorValue } from 'react-native';
import { PositionStyle } from '../../types';
import { ReactNode } from 'react';
export declare enum SlotFixedLocation {
    rightBottom = "rightBottom",
    rightTop = "rightTop",
    leftBottom = "leftBottom",
    leftTop = "leftTop",
    bottomCenter = "bottomCenter",
    topCenter = "topCenter"
}
export declare const SlotFixedStylesConfig: {
    [k in keyof typeof SlotFixedLocation]: PositionStyle;
};
export declare function pickSlotPosition(slot: keyof typeof SlotFixedLocation): PositionStyle;
type SlotPropsType = {
    slot: keyof typeof SlotFixedLocation;
    children: ReactNode;
    width?: number;
    height?: number;
    backgroundColor?: ColorValue;
    style?: any;
};
/**
 * 插槽的定义：样式和位置已经固定，只能从已经定义好的样式中选择进行
 * 1、插槽固定以后，只能修改插槽定义的位置信息：
 * 例如：rightTop 修改的属性是 right/top/maxHeight/height/width/maxWidth
 * 2、为确保Slot中的组件按照顺序排列，Slot 需要给children遍历套一层View固定（可选，先不实现）
 *  @component
 *
 * @param props
 * @returns
 */
export declare function Slot(props: SlotPropsType): import("react").JSX.Element;
export default Slot;
//# sourceMappingURL=SlotOlderVersion.d.ts.map