declare module '@ioc:Adonis/Addons/Cache' {
    type CacheEventPayload = {
        key: string;
        value?: unknown;
        expiration?: number;
    };
    type CacheEvents = import('../src/Enums/CacheEvents').default;
    interface CacheEventContract extends CacheEventPayload {
        EVENT: CacheEvents;
        toJSON(): CacheEventPayload;
    }
    type CacheClearEventPayload = {
        store: keyof CacheStoresList;
    };
    type CacheEventsConfig = Record<CacheEvents, boolean>;
}
declare module '@ioc:Adonis/Core/Event' {
    import type { CacheEventPayload, CacheClearEventPayload } from '@ioc:Adonis/Addons/Cache';
    type Events = {
        [E in 'CacheEvents']: CacheEventPayload;
    } & {
        'cache:clearing': CacheClearEventPayload;
        'cache:cleared': CacheClearEventPayload;
    };
    interface EventsList extends Events {
    }
}
