import { EhEnvIndexed } from '@env-hopper/backend-core'; import { ReactNode } from 'react'; import { EnvironmentHistoryItem } from './types.js'; export interface EnvironmentContext { setCurrentEnv: (envSlug: string | undefined) => void; currentEnv: EhEnvIndexed | undefined; getHistory: () => Array; } interface EnvironmentProviderProps { children: ReactNode; initialEnvSlug?: string; } export declare function EnvironmentProvider({ children, initialEnvSlug, }: EnvironmentProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useEnvironmentContext(): EnvironmentContext; export {};