/** * Addresses namespace — list, create, get, delete (no update). */ import type { HttpClient } from '../HttpClient.js'; import type { QueryParams } from '../types.js'; import { BaseResource } from '../base/BaseResource.js'; /** * Address management (no update endpoint). * * Access via `client.addresses.*`. */ export declare class AddressesResource extends BaseResource { constructor(http: HttpClient); /** * List all addresses in the project. * * @param params - Optional filter / pagination query parameters. * @returns A paginated list of addresses. * @throws {RestError} On any non-2xx HTTP response. */ list(params?: QueryParams): Promise; /** * Create a new address. * * @param body - Address attributes (name, display name, context, etc.). * @returns The newly-created address. * @throws {RestError} On any non-2xx HTTP response. */ create(body: any): Promise; /** * Fetch a single address by ID. * * @param addressId - Unique identifier of the address. * @returns The address record. * @throws {RestError} On any non-2xx HTTP response (including `404`). */ get(addressId: string): Promise; /** * Delete an address. * * @param addressId - Unique identifier of the address. * @returns The platform's delete response. * @throws {RestError} On any non-2xx HTTP response. */ delete(addressId: string): Promise; }