import { ConfigService } from '../config_service'; import { FeatureFlagService } from '../feature_flags'; /** * This is the maximum byte size of the content that can be sent to the Code Suggestions API. * This includes the content of the document and the context resolutions. */ export declare const CODE_SUGGESTIONS_REQUEST_BYTE_SIZE_LIMIT = 50000; /** * This is the maxium byte size of the LRU cache used for Open Tabs */ export declare const LRU_CACHE_BYTE_SIZE_LIMIT: number; /** * Determines if the advanced context resolver should be used for code suggestions. * Because the Code Suggestions API has other consumers than the language server, * we gate the advanced context resolver behind a feature flag separately. */ export declare const shouldUseAdvancedContext: (featureFlagService: FeatureFlagService, configService: ConfigService) => boolean;