// (C) 2025-2026 GoodData Corporation
/**
 * Factory producing a typed client for interacting with the location style endpoint.
 */
export const tigerLocationStyleClientFactory = (axios) => {
    return {
        getDefaultStyle: async (params) => LocationStyleApi_GetDefaultStyle(axios, params),
    };
};
/**
 * Low-level request that retrieves the MapLibre style configuration.
 *
 * @remarks
 * Passes `basemap` and `colorScheme` as query parameters when provided.
 */
export async function LocationStyleApi_GetDefaultStyle(axios, params) {
    const queryParams = {
        ...(params?.basemap === undefined ? {} : { basemap: params.basemap }),
        ...(params?.colorScheme === undefined ? {} : { colorScheme: params.colorScheme }),
    };
    const response = await axios.get("/api/v1/location/style", {
        params: queryParams,
    });
    return response.data;
}
//# sourceMappingURL=locationStyle.js.map