import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { PageIterator } from "../types/operations.js"; export declare class Partitions extends ClientSDK { /** * List Partitions * * @remarks * List all partitions sorted by name in ascending order. Results are paginated with a max limit of 100. When more partitions are available, a `cursor` will be provided. Use the `cursor` parameter to retrieve the subsequent page. */ list(request?: operations.ListPartitionsPartitionsGetRequest | undefined, options?: RequestOptions): Promise>; /** * Create Partition * * @remarks * Create a new partition. Partitions are used to scope documents, connections, and instructions. Partitions must be lowercase alphanumeric and may only include the special characters `_` and `-`. A partition may also be created by creating a document in it. Limits for a partition may optionally be defined when creating. */ create(request: components.CreatePartitionParams, options?: RequestOptions): Promise; /** * Get Partition * * @remarks * Get a partition by its ID. Includes usage information such as the number of documents and pages hosted and processed. The partition's limits are also included. */ get(request: operations.GetPartitionPartitionsPartitionIdGetRequest, options?: RequestOptions): Promise; /** * Update Partition * * @remarks * Updates a partition. This includes the partition's description and metadata schema. */ update(request: operations.UpdatePartitionPartitionsPartitionIdPatchRequest, options?: RequestOptions): Promise; /** * Delete Partition * * @remarks * Deletes a partition and all of its associated data. This includes connections, documents, and partition specific instructions. This operation is irreversible. */ delete(request: operations.DeletePartitionPartitionsPartitionIdDeleteRequest, options?: RequestOptions): Promise; /** * Set Partition Limits * * @remarks * Sets limits on a partition. Limits can be set on the total number of pages a partition can host and process. When the limit is reached, the partition will be disabled. A limit may be removed by setting it to `null`. */ setLimits(request: operations.SetPartitionLimitsPartitionsPartitionIdLimitsPutRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=partitions.d.ts.map