import { Client } from '../client'; import type { Models } from '../models'; import { ProjectUsageRange } from '../enums/project-usage-range'; export declare class Project { client: Client; constructor(client: Client); /** * Get project usage stats * * * @param {string} startDate * @param {string} endDate * @param {ProjectUsageRange} period * @throws {AppwriteException} * @returns {Promise} */ getUsage(startDate: string, endDate: string, period?: ProjectUsageRange): Promise; /** * List Variables * * Get a list of all project variables. These variables will be accessible in all Appwrite Functions at runtime. * * @throws {AppwriteException} * @returns {Promise} */ listVariables(): Promise; /** * Create Variable * * Create a new project variable. This variable will be accessible in all Appwrite Functions at runtime. * * @param {string} key * @param {string} value * @throws {AppwriteException} * @returns {Promise} */ createVariable(key: string, value: string): Promise; /** * Get Variable * * Get a project variable by its unique ID. * * @param {string} variableId * @throws {AppwriteException} * @returns {Promise} */ getVariable(variableId: string): Promise; /** * Update Variable * * Update project variable by its unique ID. This variable will be accessible in all Appwrite Functions at runtime. * * @param {string} variableId * @param {string} key * @param {string} value * @throws {AppwriteException} * @returns {Promise} */ updateVariable(variableId: string, key: string, value?: string): Promise; /** * Delete Variable * * Delete a project variable by its unique ID. * * @param {string} variableId * @throws {AppwriteException} * @returns {Promise<{}>} */ deleteVariable(variableId: string): Promise<{}>; }