import { type ProgramNode } from './route-ast.js';
type ExportInfo = {
    readonly exportNames: readonly string[];
    readonly exportAllModules: readonly string[];
};
type RouteModuleAnalysis = {
    readonly code: string;
    readonly exports: readonly string[];
    readonly exportAllModules: readonly string[];
};
export declare const collectProgramExportNames: (program: ProgramNode) => string[];
export declare const getExportNames: (code: string, resourcePath?: string) => Promise<readonly string[]>;
export declare const getExportNamesAndExportAll: (code: string, resourcePath?: string) => Promise<ExportInfo>;
export declare const getRouteModuleAnalysis: (resourcePath: string) => Promise<RouteModuleAnalysis>;
export {};
