/**
 * EntitySchemaContext
 *
 * Minimal context providing entity schema definitions (field metadata).
 * This is NOT a data store - data comes from FetchedDataContext via server.
 *
 * Replaces EntityStore's schema functionality without the mock data generation.
 *
 * @packageDocumentation
 */
import React from 'react';
import type { ResolvedEntity } from '@almadar/core';
export interface EntitySchemaContextValue {
    /** Entity definitions (schema metadata only) */
    entities: Map<string, ResolvedEntity>;
}
export interface EntitySchemaProviderProps {
    /** Entity definitions from resolved schema */
    entities: ResolvedEntity[];
    /** Children */
    children: React.ReactNode;
}
/**
 * Provides entity schema definitions to the component tree.
 *
 * This is a lightweight provider that only holds schema metadata (field definitions).
 * Actual entity data comes from FetchedDataContext via server responses.
 */
export declare function EntitySchemaProvider({ entities, children, }: EntitySchemaProviderProps): React.ReactElement;
/**
 * Access entity schema definitions.
 * Use this for field metadata (form building, filter enrichment).
 * For actual data, use useFetchedDataContext.
 */
export declare function useEntitySchema(): EntitySchemaContextValue;
/**
 * Get a specific entity's schema definition.
 */
export declare function useEntityDefinition(entityName: string): ResolvedEntity | undefined;
/**
 * Safe version of useEntitySchema that returns null when no provider is present.
 * Used by UISlotRenderer which may render outside an EntitySchemaProvider (compiled mode).
 */
export declare function useEntitySchemaOptional(): EntitySchemaContextValue | null;
export default EntitySchemaProvider;
