import { IkasState } from "../../../storefront-models/src"; /** * Initializes an IkasState by applying locale-specific translations to the state name and cleaning up raw translation data. * * @ai-category Initialization, State * @ai-related setIkasStateTranslations * * @param state - The state object to initialize with localized data. * @param locale - The locale code to use for translation lookup, or null to skip translation. * @returns void * * @example * ```typescript * import { initIkasState } from "@ikas/bp-storefront"; * const state = { name: "Istanbul", locationTranslations: { en: "Istanbul", fr: "Istanbul" } }; * initIkasState(state, "en"); * // state.name is now set to the English translation * ``` */ export declare function initIkasState(state: IkasState, locale: string | null): void;