import type { CreateServerSnapshotModelDTO } from '../models/CreateServerSnapshotModelDTO'; import type { SnapshotDTO } from '../models/SnapshotDTO'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class ServerSnapshotsService { /** * Get a list of snapshots for a server * Get a list of snapshots for a server * @param serverSlug Slug of the server * @returns SnapshotDTO List of snapshots * @throws ApiError */ static getServerSnapshots(serverSlug: string): CancelablePromise>; /** * Create a server snapshot *  ![Asynchronous Request](https://api.webdock.io/application/themes/webdock/img/api-docs/async.png) * @param serverSlug Slug of the server * @param requestBody Server snapshot to be created * @returns SnapshotDTO Snapshot creation initiated * @throws ApiError */ static createSnapshot(serverSlug: string, requestBody: CreateServerSnapshotModelDTO): CancelablePromise; /** * Get a snapshot by ID for a server * Get a snapshot by ID for a server * @param serverSlug Slug of the server * @param snapshotId Snapshot ID * @returns SnapshotDTO Snapshot * @throws ApiError */ static getServerSnapshotById(serverSlug: string, snapshotId: number): CancelablePromise; /** * Deletes a snapshot by ID for a server *  ![Asynchronous Request](https://api.webdock.io/application/themes/webdock/img/api-docs/async.png)\ * \ * Please note that only user created snapshots can be deleted. * @param serverSlug Slug of the server * @param snapshotId Snapshot ID * @returns string Snapshot deletion initiated * @throws ApiError */ static deleteServerSnapshotById(serverSlug: string, snapshotId: number): CancelablePromise; }