/*! Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. * See ./LICENSE for license information. */ import { TSDocConfigFile as TSDocumentConfigFile } from '@microsoft/tsdoc-config'; export interface CacheableConfigFile { checkForModifiedFiles: () => boolean; } interface ConfigCacheDependencies { configFilename: string; findConfigPathForFolder: (folderPath: string) => string; getTimeInMs: () => number; loadFile: (configFilePath: string) => ConfigFile; } export interface ConfigCacheOptions extends ConfigCacheDependencies { cacheCheckIntervalMs?: number; cacheExpireMs?: number; cacheMaxSize?: number; } export declare const createConfigCache: ({ cacheCheckIntervalMs, cacheExpireMs, cacheMaxSize, configFilename, findConfigPathForFolder, getTimeInMs, loadFile, }: ConfigCacheOptions) => ((sourceFilePath: string, tsConfigRootDirectory?: string) => ConfigFile); export declare const getConfigForSourceFile: (sourceFilePath: string, tsConfigRootDirectory?: string) => TSDocumentConfigFile; export {}; //# sourceMappingURL=config-cache.d.ts.map