import type { DocumentRegion, SpanAnnotation } from 'writinglint-core'; export type InputKind = 'prose' | 'comments'; export interface ExtractedInput { text: string; /** Map an extracted range back to source UTF-16 boundaries. */ sourceRange(start: number, end: number): [number, number]; /** Optional structure expressed in offsets into `text`, not the source file. */ regions?: readonly DocumentRegion[]; annotations?: readonly SpanAnnotation[]; language?: string; } export declare const DEFAULT_EXTENSIONS: string[]; export declare function inputKind(path: string): InputKind | undefined; export declare function extractInput(path: string, source: string): ExtractedInput; /** Return prose at its original UTF-16 offsets, blanking all non-comment code. */ export declare function extractLintText(path: string, source: string): string;