import type { CfgRulesConfig, DataflowRulesConfig, LanguageRegistryEntry, TreeSitterNode } from '../types.js';
export declare function makeRules(defaults: Record<string, unknown>, overrides: Record<string, unknown>, label: string): Record<string, unknown>;
export declare const CFG_DEFAULTS: CfgRulesConfig;
export declare function makeCfgRules(overrides: Partial<CfgRulesConfig>): CfgRulesConfig;
export declare const DATAFLOW_DEFAULTS: DataflowRulesConfig;
export declare function makeDataflowRules(overrides: Partial<DataflowRulesConfig>): DataflowRulesConfig;
export declare function findFunctionNode(rootNode: TreeSitterNode, startLine: number, _endLine: number, rules: {
    functionNodes: Set<string>;
}): TreeSitterNode | null;
export declare function buildExtToLangMap(registry?: LanguageRegistryEntry[]): Map<string, string>;
export declare function buildExtensionSet(rulesMap: Map<string, unknown>, registry?: LanguageRegistryEntry[]): Set<string>;
//# sourceMappingURL=shared.d.ts.map