import { VNode, VNodeChild, StyleValue } from 'vue';
import { AttachmentExtraProps } from './formatter';
import { DescriptionsItemSchema, FormatOptions, MaskConfig, MaskOption, TransformOptionType } from './interface';
export declare function transformValue(data: FormatOptions, opt: TransformOptionType): VNodeChild | VNode;
/**
 * 根据type判断是否为空
 * @param schema 描述
 */
export declare function isEmptyWithType(value: unknown, schema: DescriptionsItemSchema): boolean;
/**
 * 混入附件类型额外属性
 * @param target 原配置
 * @param options.fromGlobal 来自全局配置的下载文件方法
 * @param options.fromConfig 来自全局配置里的ApDescriptions的下载文件方法
 * @returns 混入后的配置
 */
export declare function mixinsAttachmentExtraProps(target: AttachmentExtraProps | undefined, options: {
    fromGlobal?: (...args: any[]) => any;
    fromConfig?: (...args: any[]) => any;
}): AttachmentExtraProps | {
    downloadFile: (...args: any[]) => any;
    urlPath?: string | string[];
    namePath?: string | string[];
    style?: StyleValue;
    className?: string;
};
export declare function genDefaultMaskStatus(schemas?: DescriptionsItemSchema[], oldStatus?: Record<string, boolean | undefined>, defaultMask?: MaskOption): Record<string, boolean | undefined>;
export declare function getMaskConfigBySchema(schema: DescriptionsItemSchema, defaultMask?: MaskOption): Required<MaskConfig> | undefined;
export declare function getSchemaKey(schema: DescriptionsItemSchema): string | undefined;
