export type JokeType = 'any' | 'programming'; type Joke = { setup: string; punchline: string; }; type RandomJokeContextValue = { loading: boolean; joke: Joke; type: JokeType; rerollJoke: Function; handleChangeType: Function; }; declare const Context: import("react").Context; export declare const ContextProvider: (props: { children: JSX.Element; defaultCategory?: JokeType; }) => import("react/jsx-runtime").JSX.Element; export declare const useRandomJoke: () => RandomJokeContextValue; export default Context;