import { type Ref } from 'vue'; export interface RefAsync extends Ref { readonly promise: Promise; } /** * Creates a ref that is populated with promise result once it's resolved. * @param promise Ref will be populated with this promise's result. */ export declare function refAsync(promise: Promise): RefAsync; /** * Creates a ref that is populated with promise result once it's resolved. * @param fcn Function that returns a promise. Ref will be populated with this promise's result. */ export declare function refAsync(fcn: () => Promise): RefAsync;