import type { SitesRepository } from "../../../../../repositories/channels/sites/SitesRepository.js"; import type { SpacesRepository } from "../../../../../repositories/content/spaces/SpacesRepository.js"; import type { TypesRepository } from "../../../../../repositories/content/types/TypesRepository.js"; type CheckLocaleConsistencyParams = { sitesRepo: SitesRepository; spacesRepo: SpacesRepository; typesRepo: TypesRepository; siteId: number; contentTypeId: number; debug: (msg: string, data?: Record) => void; }; type LocaleCheckResult = { warning?: string; siteLanguage?: string; spaceLocale?: string; spaceName?: string; }; /** * Checks if the site language matches the content space's default locale. * Returns a warning if there's a mismatch (which causes silent 404s). * Non-blocking: returns empty result on any failure. */ export declare function checkLocaleConsistency({ sitesRepo, spacesRepo, typesRepo, siteId, contentTypeId, debug, }: CheckLocaleConsistencyParams): Promise; export {}; //# sourceMappingURL=checkLocaleConsistency.d.ts.map