export interface InjectPromiseOptions
{
values: {
[name: string]: (props: P) => Promise;
};
shouldReload: (newProps: P, oldProps: P) => boolean;
}
/**
* Injects the promise's value when it's resolved.
* @inject
* resolved value
* promise is unresolved, reload and set
* @param options
*/
export declare function injectPromise(options: InjectPromiseOptions
): (Component: any) => any;