import ts from "typescript"; export type FileComment = { commentKind: ts.CommentKind; directive: TSLintDirective; end: number; pos: number; ruleNames: string[]; }; export type TSLintDirective = "tslint:disable-next-line" | "tslint:disable" | "tslint:enable"; /** * @see https://github.com/Microsoft/TypeScript/issues/21049 */ export declare const parseFileComments: (filePath: string, content: string) => FileComment[];