/**
 * A single cassette entry: one request/response pair.
 */
export interface CassetteEntry {
    requestSha: string;
    request: unknown;
    response: unknown;
}
/**
 * The full cassette file format.
 */
export interface Cassette {
    version: 1;
    createdAt: string;
    entries: CassetteEntry[];
}
/**
 * Resolve full path to a cassette file.
 */
export declare function getCassettePath(name: string): string;
/**
 * Load a cassette from disk.
 * Throws if file does not exist.
 */
export declare function loadCassetteFromDisk(name: string): Cassette;
/**
 * Write a cassette to disk (record mode).
 * Creates parent directories as needed.
 */
export declare function saveCassetteToDisk(name: string, cassette: Cassette): void;
/**
 * Add or update an entry in an existing cassette (by sha).
 * Creates a new cassette if none exists.
 */
export declare function upsertCassetteEntry(name: string, entry: CassetteEntry): void;
//# sourceMappingURL=store.d.ts.map