import type { BackendOptions } from '../shared/type'; interface NormalizedConfigForLocales { server?: { publicDir?: string | string[]; }; } export interface DetectedLocalesDirectory { loadPath: string; addPath: string; serverLoadPath: string; serverAddPath: string; serverLoadPaths?: string[]; serverAddPaths?: string[]; } export declare function detectLocalesDirectory(appDirectory: string, normalizedConfig?: NormalizedConfigForLocales): DetectedLocalesDirectory | undefined; export declare function applyDetectedBackendPaths(backendOptions: BackendOptions, detectedLocales: DetectedLocalesDirectory | undefined): BackendOptions; export {};