import { IKosDataModel, ModelFactory } from '../../core';

interface Options<T extends IKosDataModel, O extends Object = {}> {
    modelId?: string;
    factory?: ModelFactory<T, O>;
    modelType?: string;
    options?: O;
    activate?: boolean;
    destroyOnUnmount?: boolean;
}
export declare const useKosModel: <T extends IKosDataModel, O extends Object = {}>(modelOptions: Options<T, O>) => {
    model: T | undefined;
    ready: boolean;
    error: string | undefined;
    status: {
        model: T | undefined;
        ready: boolean;
        error: string | undefined;
    };
    KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('../components/error-boundary/error-boundary').ErrorBoundaryProps & import('../components/kos-model-loader').KosModelLoaderProps>>;
};
export {};
//# sourceMappingURL=use-kos-model.d.ts.map