import type { EcoPagesAppConfig } from '../types/internal-types.js'; export type DevToolbarClientResolution = { entryPath: string; }; /** * Returns the configured dev-toolbar client package specifier, if any. */ export declare function getDevToolbarPackageSpec(appConfig: Pick): string | undefined; /** * Resolves the dev-toolbar package root from an application project directory. * * @remarks Walks up from the package entry rather than resolving `package.json` * directly so packages with strict `exports` (no `./package.json` subpath) still work. */ export declare function resolveDevToolbarPackageRoot(rootDir: string, packageSpec: string): string; /** * Resolves the browser entrypoint core bundles into `/_dev_toolbar.js`. * * @remarks Prefers `src/bootstrap.js` when present (published npm or `file:` to * `dist`), then `bootstrap.ts` for workspace source checkouts. */ export declare function resolveDevToolbarClient(rootDir: string, packageSpec: string): DevToolbarClientResolution | undefined; /** * Resolves the configured dev-toolbar client for an app config, when present. */ export declare function resolveConfiguredDevToolbarClient(appConfig: EcoPagesAppConfig): DevToolbarClientResolution | undefined; /** * Resolves a dev-toolbar client entry module from the application project root. */ export declare function resolveDevToolbarPackageEntry(rootDir: string, packageSpec: string): string; /** * Resolves the configured dev-toolbar entry for an app config, when present. */ export declare function resolveConfiguredDevToolbarEntry(appConfig: EcoPagesAppConfig): string | undefined;