import type { NavigationData as ConstructorNavigaitonData, PageContent as ConstructorPageContentBase } from '@gravity-ui/page-constructor';
import type { TransformerRaw } from '@gravity-ui/page-constructor/server';
export interface MetaData {
    title: string;
    description?: string;
}
export interface PageContentBase {
    meta?: MetaData;
}
export declare enum Lang {
    RU = "ru",
    EN = "en"
}
export type PageContent<T> = T & PageContentBase;
export type ConstructorPageContent = PageContent<ConstructorPageContentBase>;
export type NavigationData = PageContent<ConstructorNavigaitonData>;
export type ConfigData = ConstructorPageContent | NavigationData;
export interface PreloadParams {
    lang: `${Lang}` | Lang;
    pageName: string;
    pageReferer?: string;
}
export declare function isPageConfig(config: ConfigData): config is ConstructorPageContent;
export declare function preprocess(content: ConfigData, params: PreloadParams, customYfmTransformer: TransformerRaw): ConfigData;
