/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
/**
 * Extract the wildcard portion of a request path after a known prefix.
 *
 * Hono's `c.req.param('*')` can return `undefined` for wildcard routes,
 * so we use a deterministic string-based extraction instead.
 *
 * Handles BASE_PATH: if the path starts with the base path prefix, it is
 * stripped before matching the route prefix.
 *
 * @example
 *   extractWildcard('/api/drafts/skills/greet.md', '/api/drafts/')          // => 'skills/greet.md'
 *   extractWildcard('/studio/api/drafts/skills/greet.md', '/api/drafts/')   // => 'skills/greet.md' (with BASE_PATH=/studio)
 *   extractWildcard('/api/drafts/', '/api/drafts/')                         // => ''
 */
export declare function extractWildcard(path: string, prefix: string): string;
