import { a as ModuleFactory, M as ModuleWithPermissions } from './types-bsm8Fp55.js'; /** * Read-only reporting resources behind the administrative token-usage page. * `name` is the endpoint path EndpointCreator builds URLs from; there is no * pageUrl because these are not navigable resources. * * Distinct from the consuming app's own TokenUsage module (name "tokenusages", * pageUrl "/tokenusage") — that one is an AppModuleDefinitions entry the package * cannot reference, which is why these three exist. * * PREFER `tokenUsageModules(factory)` from `./tokenusage.modules` — it returns * these three plus the three self-service report modules as one spreadable * object. These individual factories are kept for backward compatibility. */ declare const TokenUsageAdminSummaryModule: (factory: ModuleFactory) => ModuleWithPermissions; declare const TokenUsageAdminTimelineModule: (factory: ModuleFactory) => ModuleWithPermissions; declare const TokenUsageAdminBreakdownModule: (factory: ModuleFactory) => ModuleWithPermissions; /** * Every read-only reporting resource behind the two token-usage pages, as one * object a consuming app spreads into its `allModules`. * * A bundle rather than six separate factories because registration is the APP'S * job — `allModules` is also the source of `AllModuleDefinitions` and what * `DataClassRegistry.bootstrap()` reads, so the package cannot self-register. * Six names is six chances to forget one, and a forgotten name is not a compile * error: `FoundationModuleDefinitions` declares them all, so `Modules.X` * typechecks and is `undefined` at runtime. One spread cannot be partially done. * * `name` is the endpoint path EndpointCreator builds URLs from. None has a * pageUrl — these are not navigable resources. * * The return type is the six named keys, NOT `Record`: the consuming app derives `AllModuleDefinitions` * from `typeof allModules`, so spreading an index-signature type in would give * that object a string index signature and make every `Modules.` * lookup typecheck. `satisfies` keeps the constraint without widening. */ declare const tokenUsageModules: (factory: ModuleFactory) => { TokenUsageAdminSummary: ModuleWithPermissions; TokenUsageAdminTimeline: ModuleWithPermissions; TokenUsageAdminBreakdown: ModuleWithPermissions; TokenUsageReportSummary: ModuleWithPermissions; TokenUsageReportTimeline: ModuleWithPermissions; TokenUsageReportBreakdown: ModuleWithPermissions; }; declare function configureTokenUsage(config: { currency: string; }): void; declare function getTokenUsageCurrency(): string; export { TokenUsageAdminSummaryModule as T, TokenUsageAdminTimelineModule as a, TokenUsageAdminBreakdownModule as b, configureTokenUsage as c, getTokenUsageCurrency as g, tokenUsageModules as t };