/**
 * @file Cache read entrypoints — `get` (throws on miss) and `safeGet` (returns
 *   `undefined` on miss). Both reject keys containing wildcards; bulk reads go
 *   through `clear` / `ls` patterns.
 */
import type { CacheEntry, GetOptions } from './types';
/**
 * Get data from the Socket shared cache by key.
 *
 * @example
 *   ;```typescript
 *   const entry = await get('socket-sdk:scans:abc123')
 *   console.log(entry.data.toString('utf8'))
 *   ```
 *
 * @throws {Error} When cache entry is not found.
 * @throws {TypeError} If key contains wildcards (*)
 */
export declare function get(key: string, options?: GetOptions | undefined): Promise<CacheEntry>;
/**
 * Get data from the Socket shared cache by key without throwing.
 *
 * @example
 *   ;```typescript
 *   const entry = await safeGet('socket-sdk:scans:abc123')
 *   if (entry) {
 *     console.log(entry.data.toString('utf8'))
 *   }
 *   ```
 */
export declare function safeGet(key: string, options?: GetOptions | undefined): Promise<CacheEntry | undefined>;
