///
export * from './component';
export * from './head';
export * from './link';
export * from './page';
export * from './redirect';
export * from './router';
export * from './transition';
export * from './utils';
export interface AppConfig {
defaultLocale?: string;
baseUrl?: string;
srcDir?: string;
outputDir?: string;
browserslist?: any;
polyfillsMode?: 'usage' | 'entry';
polyfills?: string[];
}
declare type AppContextProps = {
config: {
defaultLocale: string;
baseUrl: string;
};
translations: Record;
staticProps: Record;
};
export declare const AppContext: import("react").Context;
export declare function useAppConfig(): {
defaultLocale: string;
baseUrl: string;
};
export declare function useAppStaticProps>(): T;
declare type I18nContextProps = {
locale: string;
translations: Record;
};
export declare const I18nContext: import("react").Context;
export declare function useLocale(): string;
export declare function useTranslate(text: string): string;