import { ViewType } from '@oinone/kunlun-meta';
import { ComputedRef } from 'vue';
/**
 * 元数据上下文
 */
export interface MetaContext {
    viewType: ComputedRef<ViewType>;
    model: ComputedRef<string>;
    modelName: ComputedRef<string>;
    module: ComputedRef<string>;
    moduleName: ComputedRef<string>;
    metadataHandle: ComputedRef<string>;
    rootHandle: ComputedRef<string>;
    parentHandle: ComputedRef<string>;
    slotName: ComputedRef<string | undefined>;
    inline: ComputedRef<boolean>;
}
/**
 * 默认元数据上下文
 */
export declare const defaultMetaContext: {
    viewType: ComputedRef<ViewType>;
    model: ComputedRef<string>;
    modelName: ComputedRef<string>;
    module: ComputedRef<string>;
    moduleName: ComputedRef<string>;
    metadataHandle: ComputedRef<string>;
    rootHandle: ComputedRef<string>;
    parentHandle: ComputedRef<string>;
    slotName: ComputedRef<undefined>;
    inline: ComputedRef<boolean>;
};
/**
 * 提供元数据上下文
 * @param state 元数据可选项
 */
export declare const useProviderMetaContext: (state: Partial<MetaContext>) => void;
/**
 * 获取元数据上下文
 */
export declare const useInjectMetaContext: () => MetaContext;
