import { FetchRepositoryBase } from "../../../shared/index.js"; import type { CreateGlobalVariableParams, GlobalVariableDetail, GlobalVariableList, ListGlobalVariablesQuery, UpdateGlobalVariableParams } from "./GlobalVariablesTypes.js"; export declare class GlobalVariablesRepository extends FetchRepositoryBase { /** * List global variables */ getGlobalVariables(queryParams: ListGlobalVariablesQuery): Promise; /** * Fetches all global variables from all pages in parallel * * @param params - Query parameters including application_type, application_id, lang * @returns Promise resolving to array of all global variables across all pages */ getAllGlobalVariables(params: Pick): Promise; /** * Get a global variable by slug. * * Es el único detalle que la plataforma sirve: `GET /global_variables/{id}` * responde 404 siempre (#122, medido el 2026-10-24). En scope `widgets` * necesita `site_id` (sin él, 404), aunque el swagger no lo declara. */ getGlobalVariableBySlug(slug: string, queryParams: { application_type: "account" | "site" | "widgets"; application_id: number; lang: string; site_id?: number | undefined; }): Promise; /** * Create a new global variable */ createGlobalVariable(data: CreateGlobalVariableParams): Promise; /** * Update a global variable */ updateGlobalVariable(id: number, data: UpdateGlobalVariableParams): Promise; } //# sourceMappingURL=GlobalVariablesRepository.d.ts.map