import { Ref } from "vue"; import { AsyncComputeRef, ComputeFn, ComputeRef, ScopeContext } from "../d"; declare function doComputed(getTargetFunc: any, getContextFn: () => any, excludes?: any[], userComputedFn?: (target: any) => any): import("vue").ComputedRef; export declare class ComputeValue implements ComputeRef { computeFn: ComputeFn; constructor(computeFn: ComputeFn); } export declare function compute(computeFn: ComputeFn): ComputeRef; export type GetContextFn = () => any; export declare class AsyncComputeValue implements AsyncComputeRef { watch?: (context: ScopeContext) => WV; asyncFn: (value: WV, getContextFn: GetContextFn) => Promise; defaultValue?: any; constructor(options: AsyncComputeRef); buildAsyncRef(getContextFn: GetContextFn): Ref; } export declare function asyncCompute(options: AsyncComputeRef): AsyncComputeRef; export declare function useCompute(): { ComputeValue: typeof ComputeValue; compute: typeof compute; AsyncComputeValue: typeof AsyncComputeValue; asyncCompute: typeof asyncCompute; doComputed: typeof doComputed; }; export {};