import { NonceCache, NonceCacheConfig } from "@kya-os/contracts/handshake";
/**
 * Environment-based cache type detection
 */
export declare function detectCacheType(): "memory" | "redis" | "dynamodb" | "cloudflare-kv";
/**
 * Create a nonce cache instance based on configuration or environment detection
 */
export declare function createNonceCache(config?: NonceCacheConfig, options?: {
    throwOnError?: boolean;
}): Promise<NonceCache>;
/**
 * Configuration override options for nonce cache
 */
export interface NonceCacheOptions {
    config?: NonceCacheConfig;
    fallbackToMemory?: boolean;
}
/**
 * Create nonce cache with explicit configuration override
 */
export declare function createNonceCacheWithConfig(options?: NonceCacheOptions): Promise<NonceCache>;
