UNPKG

@intlayer/config

Version:

Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.

14 lines (13 loc) 682 B
import { ProcessedStorageAttributes, RoutingStorageInput } from "@intlayer/types/config"; //#region src/utils/getStorageAttributes.d.ts /** * Extracts and normalizes storage configuration into separate arrays for each storage type. * Called at config-build time so the result is pre-computed and stored in the config. * * @param options - The storage configuration from IntlayerConfig * @returns An object containing arrays for cookies, localStorage, sessionStorage and headers */ declare const getStorageAttributes: (options: RoutingStorageInput) => ProcessedStorageAttributes; //#endregion export { getStorageAttributes }; //# sourceMappingURL=getStorageAttributes.d.ts.map