import type { AgencyConfig } from "../../config/config.js"; export type ImportedFileExports = { /** Basename of the imported file, e.g. `lib.agency`. */ file: string; /** Its exported node and function names, in declaration order. */ names: string[]; }; export type ExportedEndpointCount = { nodes: number; functions: number; /** Exports living in imported sibling files (not served from this entrypoint). */ imported: ImportedFileExports[]; }; export declare function countExportedEndpoints(filePath: string, config: AgencyConfig): ExportedEndpointCount;