///
///
import type { DurabilityLevel as _couchbase_kv_v1_DurabilityLevel, DurabilityLevel__Output as _couchbase_kv_v1_DurabilityLevel__Output } from '../../../couchbase/kv/v1/DurabilityLevel';
import type { Long } from '@grpc/proto-loader';
/**
* PrependRequest prepends raw bytes to the beginning of an existing document's
* value.
*/
export interface PrependRequest {
'bucket_name'?: (string);
'scope_name'?: (string);
'collection_name'?: (string);
'key'?: (string);
/**
* The bytes to prepend to the existing document value.
*/
'content'?: (Buffer | Uint8Array | string);
/**
* Optional CAS for optimistic concurrency.
*/
'cas'?: (number | string | Long);
'durability_level'?: (_couchbase_kv_v1_DurabilityLevel);
'_cas'?: "cas";
'_durability_level'?: "durability_level";
}
/**
* PrependRequest prepends raw bytes to the beginning of an existing document's
* value.
*/
export interface PrependRequest__Output {
'bucket_name': (string);
'scope_name': (string);
'collection_name': (string);
'key': (string);
/**
* The bytes to prepend to the existing document value.
*/
'content': (Buffer);
/**
* Optional CAS for optimistic concurrency.
*/
'cas'?: (string);
'durability_level'?: (_couchbase_kv_v1_DurabilityLevel__Output);
'_cas'?: "cas";
'_durability_level'?: "durability_level";
}