import type { ParsedFile } from './types.js';
interface ParserContext {
    repoRoot: string;
}
export interface CodeFileGuardrails {
    maxFileSizeBytes?: number;
    maxLines?: number;
    skipMinified?: boolean;
}
export interface ParsedCodeFileSuccess {
    kind: 'parsed';
    file: ParsedFile;
}
export interface ParsedCodeFileSkipped {
    kind: 'skipped';
    reason: string;
}
export type ParseCodeFileResult = ParsedCodeFileSuccess | ParsedCodeFileSkipped | null;
export declare function resolveImportPath(language: string, context: ParserContext, filePath: string, specifier: string): string | undefined;
export declare function parseCodeFile(filePath: string, context: ParserContext, guardrails?: CodeFileGuardrails): Promise<ParseCodeFileResult>;
export {};
