import { IAtom } from "mobx"; export type AsyncReturnType Promise> = Awaited>; export type NonAsyncVersionOfFunc Promise> = (..._args: Parameters) => AsyncReturnType; export declare class AsyncToObservablePack { started: boolean; completionEvent: IAtom; result: T | undefined; startIfNotYet: () => void; } /** Warning: Do not reference any mobx-observable fields within the `accessorFunc`; instead, add a second accessor that retrieves that data, then passes them as arguments to the async-accessor. */ export declare function CreateAsyncAccessor Promise>(accessorFunc: Func): NonAsyncVersionOfFunc & import("./CreateAccessor.js").FuncExtensions>;