import type { NavigationData, PageContent } from '@gravity-ui/page-constructor';
import type { SearchConfig } from '../Search';
import type { RouterConfig } from '../Router';
import type { DocContentPageData as DocContentPageDataBase, DocLeadingPageData, DocPageData } from '@diplodoc/components';
import type { AnalyticsConfig, UserAnalyticsConfig } from '../../types';
import React from 'react';
import { Lang } from '@diplodoc/components';
import '@diplodoc/transform/dist/js/yfm';
import '../../interceptors/leading-page-links';
import './App.scss';
export type DocAnalytics = UserAnalyticsConfig;
export type FeedbackConfig = {
    url?: string;
};
export interface AppProps {
    lang: `${Lang}` | Lang;
    langs: (`${Lang}` | Lang)[];
    router: RouterConfig;
    search?: SearchConfig;
    analytics?: AnalyticsConfig;
    feedback?: FeedbackConfig;
    viewerInterface?: Record<string, boolean>;
    neuroExpert?: {
        projectId?: string;
    };
    data: PageData;
}
export type WithNavigation = {
    navigation?: NavigationData;
};
export type DocContentPageData = DocContentPageDataBase<PageContent>;
export type PageData = DocPageData | DocLeadingPageData | DocContentPageData;
export type DocInnerProps<Data extends PageData = PageData> = {
    data: Data;
    analytics?: DocAnalytics;
} & Omit<AppProps, 'analytics'>;
export type { DocLeadingPageData, DocPageData };
export declare const App: (props: AppProps & {
    analyticsService?: import("@diplodoc/components").Analytics;
}) => React.JSX.Element;
