import type { Notice, NoticeDataSource } from './types';
import type { IoDefaultMessages } from '../io/private';
export declare class CachedDataSource implements NoticeDataSource {
    private readonly ioMessages;
    private readonly fileName;
    private readonly dataSource;
    private readonly skipCache?;
    constructor(ioMessages: IoDefaultMessages, fileName: string, dataSource: NoticeDataSource, skipCache?: boolean | undefined);
    fetch(): Promise<Notice[]>;
    private fetchInner;
    private load;
    private save;
}
