import { CancellationToken } from '../../../util/vs/base/common/cancellation'; import { URI } from '../../../util/vs/base/common/uri'; export declare const HAS_IGNORED_FILES_MESSAGE: string; export declare const IIgnoreService: import("../../../util/common/services").ServiceIdentifier; export interface IIgnoreService { _serviceBrand: undefined; isEnabled: boolean; /** * Whether or not regex context exclusions are enabled. * If they're not enabled, you can use the `asMinimatchPattern` method to get a minimatch pattern that works for the exclusion rules. * Otherwise you will need to do a `.filter()` on the files yourself. */ isRegexExclusionsEnabled: boolean; dispose(): void; init(): Promise; isCopilotIgnored(file: URI, token?: CancellationToken): Promise; asMinimatchPattern(): Promise; } export declare class NullIgnoreService implements IIgnoreService { readonly _serviceBrand: undefined; static readonly Instance: NullIgnoreService; dispose(): void; get isEnabled(): boolean; get isRegexExclusionsEnabled(): boolean; init(): Promise; isCopilotIgnored(file: URI): Promise; asMinimatchPattern(): Promise; } export declare function filterIngoredResources(ignoreService: IIgnoreService, resources: URI[]): Promise; //# sourceMappingURL=ignoreService.d.ts.map