import { FetchRepositoryBase } from "../../../shared/index.js"; import type { CreateGlobalVariableParams, DeleteGlobalVariableParams, 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 specific global variable by ID */ getGlobalVariable(id: number, queryParams: { application_type: "account" | "site" | "widgets"; application_id: number; lang: string; }): Promise; /** * Get a global variable by slug */ getGlobalVariableBySlug(slug: string, queryParams: { application_type: "account" | "site" | "widgets"; application_id: number; lang: string; }): Promise; /** * Create a new global variable */ createGlobalVariable(data: CreateGlobalVariableParams): Promise; /** * Update a global variable */ updateGlobalVariable(id: number, data: UpdateGlobalVariableParams): Promise; /** * Delete a global variable */ deleteGlobalVariable(id: number, params: DeleteGlobalVariableParams): Promise; /** * Bulk delete global variables */ bulkDeleteGlobalVariables(ids: number[], params: DeleteGlobalVariableParams): Promise; } //# sourceMappingURL=GlobalVariablesRepository.d.ts.map