import { ViewType } from '@oinone/kunlun-meta';
import { DslDefinition } from '@oinone/kunlun-dsl';
import { CSSStyle } from '@oinone/kunlun-shared';
import { Slot, VNode } from 'vue';
import { ResolveMode } from './typing';
/**
 * 是否创建flex相关元素
 * @param resolveMode 解析模型
 */
export declare function isCreateFlexElement(resolveMode: ResolveMode | undefined): boolean;
export declare function isOnlyOneRowWidget(dsl: DslDefinition | undefined): boolean;
export declare function defaultFlexResolve(template: DslDefinition | undefined, defaultSlot: Slot): VNode[];
/**
 * 创建flex样式，消除row和col
 * @param template dsl
 * @param originChildren 原本的Children，会因为里面是Row或Col而修改
 * @param parentCols 作为父Cols传递
 * @param ViewType 视图类型，目前只发现SEARCH有特殊处理
 * @param origin 以originChildren为主
 * @returns
 */
export declare function cssStyleFlexResolve(template: DslDefinition | undefined, originChildren: VNode[], parentCols?: number, viewType?: ViewType, origin?: boolean): {
    defaultChildren: VNode[];
    rowStyle?: CSSStyle;
};
