import React from 'react'; import { makeDecorator } from 'storybook/preview-api'; type StoryContext = Parameters[0]['wrapper']>[1]; export type ContextOptions = { contextValue: (context: StoryContext) => T; context: React.Context; }; export interface DecoratorOptions extends Partial { contexts?: ContextOptions[]; } type ContextValuesProps = { children: (contextValues: unknown[]) => React.ReactNode; contexts: ContextOptions[]; }; export declare const ContextValues: ({ children, contexts }: ContextValuesProps) => React.ReactNode; export declare const withReactContext: (...args: any) => any; export {};