import type { EffectiveCollectionI18nConfig } from "@contfu/core"; import type { FilterAST } from "../infra/filter/types.js"; export type ClientI18nConfig = { defaultLocale?: Locale; fallback?: Locale | true | false; }; export type LocaleScope = { locale?: Locale | false; fallback?: Locale | true | false; }; export type I18nQueryPlan = { collection: string; key?: string; wantedLocale?: string; fallbackLocale?: string; }; export declare function filterReferencesLocale(ast: FilterAST): boolean; export declare function buildI18nQueryPlan(opts: { collection: string; collectionI18n: EffectiveCollectionI18nConfig | null | undefined; appI18n?: ClientI18nConfig | undefined; scope?: LocaleScope | undefined; locale?: string | false | undefined; fallback?: string | true | false | undefined; suppressImplicit?: boolean; }): I18nQueryPlan | undefined;