import { LoadingContext, MaybeObservableOrValue } from '@dereekb/rxjs';
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
import { DbxErrorComponent } from './error.component';
import * as i0 from "@angular/core";
/**
 * Context used for linking an ReadableErrorComponent to a LoadingContext.
 *
 * The error from the context is given to the app error when available.
 */
export declare class DbxLoadingErrorDirective extends AbstractSubscriptionDirective {
    readonly error: DbxErrorComponent;
    readonly context: import("@angular/core").InputSignal<MaybeObservableOrValue<LoadingContext<import("@dereekb/rxjs").LoadingContextEvent>>>;
    readonly context$: import("rxjs").Observable<import("dist/packages/util/src").Maybe<LoadingContext<import("@dereekb/rxjs").LoadingContextEvent>>>;
    readonly contextSignal: import("@angular/core").Signal<import("dist/packages/util/src").Maybe<LoadingContext<import("@dereekb/rxjs").LoadingContextEvent>>>;
    protected readonly _errorEffect: import("@angular/core").EffectRef;
    static ɵfac: i0.ɵɵFactoryDeclaration<DbxLoadingErrorDirective, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<DbxLoadingErrorDirective, "[dbxLoadingError]", never, { "context": { "alias": "dbxLoadingError"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
}
