import type { SourceMapper } from './source-mapping.js'; import type { CartridgeMapping } from '../code/cartridges.js'; /** * Resolve a user-provided file path to an SDAPI script_path. * * Accepts: * - Absolute local path: `/Users/.../app_storefront/cartridge/controllers/Cart.js` * - Relative local path: `./cartridges/app_storefront/cartridge/controllers/Cart.js` * - Server path: `/app_storefront/cartridge/controllers/Cart.js` (passed through if not a local match) * - Cartridge-name-prefixed: `app_storefront/cartridge/controllers/Cart.js` (prefixed with /) * * Returns the SDAPI script_path (e.g. `/app_storefront/cartridge/controllers/Cart.js`). * Throws with a helpful message if the path cannot be resolved. */ export declare function resolveBreakpointPath(input: string, sourceMapper: SourceMapper, cartridges: CartridgeMapping[]): string;