import { PropsWithChildren } from 'react';
import { IKosDataModel } from '../../../../core';
interface KosNestedModelContextProps {
    models: IKosDataModel[];
    addModel: (model: IKosDataModel) => void;
}
export declare const NestedModelContext: import('react').Context<KosNestedModelContextProps>;
export declare const KosModelCollectionProvider: React.FunctionComponent<PropsWithChildren>;
interface ModelHierarchyProps {
    filter?: (model: IKosDataModel) => boolean;
}
export declare const useContextModelHierarchy: (props?: ModelHierarchyProps) => IKosDataModel[];
export declare const useModelFromHierarchy: <T extends IKosDataModel = IKosDataModel>(type: string) => T | undefined;
export {};
//# sourceMappingURL=kos-model-hierarchy-context.d.ts.map