/**
 * @file Cache write entrypoints — `put` (insert/replace by key) and `remove`
 *   (single-key delete). Both reject wildcards; for pattern deletes use
 *   `clear({ prefix: 'foo*' })`.
 */
import type { PutOptions } from './types';
/**
 * Put data into the Socket shared cache with a key.
 *
 * @example
 *   ;```typescript
 *   await put('socket-sdk:scans:abc123', Buffer.from('result data'))
 *   ```
 *
 * @throws {TypeError} If key contains wildcards (*)
 */
export declare function put(key: string, data: string | Buffer, options?: PutOptions | undefined): Promise<{
    integrity: string;
    size: number;
}>;
/**
 * Remove an entry from the Socket shared cache by key.
 *
 * @example
 *   ;```typescript
 *   await remove('socket-sdk:scans:abc123')
 *   ```
 *
 * @throws {TypeError} If key contains wildcards (*)
 */
export declare function remove(key: string): Promise<unknown>;
