import { MutableRefObject } from 'react';
import { Subject } from 'rxjs';
import { IObject } from '../../interfaces';
import { Resolve } from '../../services/resolve.service';
export interface IUseViewProps {
    resolves?: {
        [key: string]: Resolve<any>;
    };
    firstLoad?: boolean;
}
export interface IStatusInfo {
    starting: boolean;
    errorLoadData: boolean;
    criticalError: boolean;
}
export interface IViewResponse {
    registerOnInit: (v: any) => void;
    registerOnInitError: (v: any) => void;
    starting: boolean;
    errorLoadData: boolean;
    criticalError: boolean;
    statusInfo: IStatusInfo;
    setStatusInfo: (v: IObject) => any;
    $destroy: Subject<any>;
    reloadPage: (wait1s?: boolean) => void;
    getParamsResolve: MutableRefObject<{
        [key: string]: () => any;
    }>;
    registerResolveParams: (resolveName: string, fn: () => any) => void;
}
//# sourceMappingURL=useView.interfaces.d.ts.map