UNPKG

@redocly/theme

Version:

Shared UI components lib

11 lines (10 loc) 421 B
import React from 'react'; export type SearchSessionContextValue = { searchSessionId: string; refreshSearchSessionId: () => void; }; export declare const SearchSessionContext: React.Context<SearchSessionContextValue | null>; export declare const SearchSessionProvider: ({ children }: { children: React.ReactNode; }) => React.JSX.Element; export declare function useSearchSession(): SearchSessionContextValue;