#!/usr/bin/env node
/**
 * Playground subcommand for the legal-md binary.
 *
 * Serves the dist/web directory as a static HTTP server and opens the
 * browser. Invoked via `legal-md playground`.
 *
 * Path resolution order:
 *   1. Relative to the binary (process.execPath) - works for Homebrew installs
 *      where the binary lives in <prefix>/bin/ and assets in <prefix>/dist/web/
 *   2. Relative to process.cwd() - works during development / npm link
 */
import http from 'http';
import type { AssetMap } from './embedded-assets.js';
export declare function buildRequestHandler(assetMap: AssetMap, webDir: string): http.RequestListener;
export declare function main(): Promise<void>;
//# sourceMappingURL=index.d.ts.map