import { ColorScheme } from "./Theme"; export declare type ComponentScope = "contribution" | "badge" | "learnmore" | "productlabel" | "modal" | "footprintinfo"; export interface CommonContextBase { assetsDir?: string; theme?: ColorScheme; apiBasePath?: string; test?: boolean; } export interface CommonContextProps { contextId?: string; getComponentScope: () => ComponentScope | undefined; } export declare type CommonContextKeys = keyof CommonContextBase; export declare type CommonContext = { [key in CommonContextKeys]-?: CommonContextBase[key]; } & { componentOverrides: { [key in keyof ComponentScope]?: { [key in CommonContextKeys]?: CommonContextBase[key]; }; }; elementOverrides: { [key: string]: { [key in CommonContextKeys]?: CommonContextBase[key]; }; }; }; export declare const commonContext: CommonContext; declare type EligableComponent = CommonContextProps & { [key in TKey]?: CommonContextBase[key]; }; export declare const resolve: >(component: TComponent, key: TKey) => any; export {};