export interface NslocResult {
    totalLines: number;
    nsloc: number;
    commentLines: number;
    blankLines: number;
    assemblyLines: number;
}
/**
 * Count nSLOC, comments, blank lines, and assembly lines from source text.
 * Uses comment ranges from the parser and InlineAssembly detection.
 */
export declare function countNsloc(source: string, commentRanges: Array<{
    start: number;
    end: number;
}>, assemblyRanges: Array<{
    start: number;
    end: number;
}>, lineRange?: {
    start: number;
    end: number;
}): NslocResult;
/**
 * Extract comment line ranges from parser tokens.
 */
export declare function getCommentRanges(comments: Array<{
    loc?: {
        start: {
            line: number;
        };
        end: {
            line: number;
        };
    };
}>): Array<{
    start: number;
    end: number;
}>;
/**
 * Find assembly block ranges from source using regex.
 * Returns line ranges of `assembly { ... }` blocks.
 */
export declare function getAssemblyRanges(source: string): Array<{
    start: number;
    end: number;
}>;
//# sourceMappingURL=nsloc.d.ts.map