import { Client } from '../client'; import type { Models } from '../models'; import { ResourceType } from '../enums/resource-type'; export declare class Proxy { client: Client; constructor(client: Client); /** * List Rules * * Get a list of all the proxy rules. You can use the query params to filter your results. * * @param {string[]} queries * @param {string} search * @throws {AppwriteException} * @returns {Promise} */ listRules(queries?: string[], search?: string): Promise; /** * Create Rule * * Create a new proxy rule. * * @param {string} domain * @param {ResourceType} resourceType * @param {string} resourceId * @throws {AppwriteException} * @returns {Promise} */ createRule(domain: string, resourceType: ResourceType, resourceId?: string): Promise; /** * Get Rule * * Get a proxy rule by its unique ID. * * @param {string} ruleId * @throws {AppwriteException} * @returns {Promise} */ getRule(ruleId: string): Promise; /** * Delete Rule * * Delete a proxy rule by its unique ID. * * @param {string} ruleId * @throws {AppwriteException} * @returns {Promise<{}>} */ deleteRule(ruleId: string): Promise<{}>; /** * Update Rule Verification Status * * * @param {string} ruleId * @throws {AppwriteException} * @returns {Promise} */ updateRuleVerification(ruleId: string): Promise; }