import React from "react";
import { ModelName, NextAdminContext, NextAdminOptions, Schema } from "../types";
export type ConfigContextType = {
    options?: NextAdminOptions;
    basePath: string;
    isAppDir?: boolean;
    apiBasePath: string;
    resource?: ModelName | null;
    resourcesIdProperty: Record<ModelName, string> | null;
    schema: Schema;
    nextAdminContext?: NextAdminContext;
};
type ProviderProps = {
    basePath: string;
    apiBasePath: string;
    options?: NextAdminOptions;
    children: React.ReactNode;
    isAppDir?: boolean;
    resource?: ModelName | null;
    resourcesIdProperty: Record<ModelName, string> | null;
    schema: Schema;
    nextAdminContext?: NextAdminContext;
};
export declare const ConfigProvider: ({ children, ...props }: ProviderProps) => import("react/jsx-runtime").JSX.Element;
export declare const useConfig: () => ConfigContextType;
export {};
//# sourceMappingURL=ConfigContext.d.ts.map