/**
 * @packageDocumentation
 * @module utils
 */
import { Observable } from 'rxjs';
export interface WithLoadState<T, E = unknown> {
    loading: boolean;
    data: T;
    error: E;
}
export declare function withLoadState<T>(input: Observable<T>, defaultValue?: T): Observable<WithLoadState<T>>;
