import type { ControllerMeta } from '../../typings/routing/meta';
import type { DataI18nRefDecl, DataI18nSeedItem } from '../../typings/routing/crud';
import type { DataI18nFieldConfig } from './data-i18n';
export type { DataI18nRefDecl, DataI18nSeedItem };
export declare function normalizeDataI18nSeeds(raw: DataI18nSeedItem | DataI18nSeedItem[] | undefined | null): DataI18nSeedItem[];
/** `en` 匹配 `en` / `en-US` / `en-GB` */
export declare function matchDataI18nSeedLang(seedLang: string, langCode: string): boolean;
/** 解析某字段在目标语种下的参考列名 */
export declare function resolveDataI18nSeedField(seeds: DataI18nSeedItem[], fieldName: string, langCode: string): string | undefined;
/** 路由注册完成后重建（registerControllers 末尾调用） */
export declare function rebuildDataI18nRegistry(controllers: ControllerMeta[]): void;
export declare function hasDataI18nTable(tableName: string): boolean;
export declare function listDataI18nTables(): string[];
export declare function getDataI18nFieldConfigs(tableName: string): DataI18nFieldConfig[];
export declare function getDataI18nSeeds(tableName: string): DataI18nSeedItem[];
export declare function isControllerDataI18nEnabled(meta?: {
    crud?: {
        api?: string[];
    };
}): boolean;
