import { Observable } from 'rxjs'; /** An async result exposes the error state of an async value */ export declare class AsyncResult extends Observable { /** The error from the source observable */ readonly error: Observable; /** True while the source has not emitted an event yet or completed or errored */ readonly loading: Observable; /** True while the source has not completed or errored */ readonly complete: Observable; constructor(source: Observable); /** Short hand to create an async result */ static from(source: Observable): AsyncResult; }