import type { H3Event } from 'h3'; import type { Storage } from 'unstorage'; import type { CacheType } from './../../../types/index.js'; export declare function getCacheInstance(event: H3Event): { storage: Storage; name: CacheType; }; /** * Check the authorization for API endpoints. * * Throws an error if authorization failed. */ export declare function checkAuth(event: H3Event): Promise;