import type { PropsWithChildren, ReactElement } from 'react'; import type { AppProviderProps, RedoclyOpenAPIDocsStandaloneProps } from './types.js'; import type { OpenAPIDefinition } from '../../types/index.js'; import type { RedocConfig } from '@redocly/config'; export declare function loadSingle(spec: any, specUrl: any, options?: RedocConfig): Promise; export declare function loadAndBundleSpecOrMd(url: string, title?: string): Promise; export declare const AppProvider: ({ options, definitionUrl, definition, activeSampleLanguage, children, }: PropsWithChildren) => ReactElement | null; export declare function RedoclyOpenAPIDocsStandalone({ definition, definitionUrl, options, activeItemId, activeSampleLanguage, activeDeepLink, router, }: RedoclyOpenAPIDocsStandaloneProps): ReactElement;