import { matchRoute } from 'stx-router';
import type { Route } from 'stx-router';
export type { Route, RouteMatch } from 'stx-router';
export declare function createRouter(baseDir: string, options?: RouterOptions): Route[];
export declare function getRouteParams(pathname: string, routes: Route[]): Record<string, string> | null;
// Backwards-compatible createRouter that returns Route[] (original signature)
export declare interface RouterOptions {
  pagesDir?: string
  extensions?: string[]
}
export { findErrorPage, formatRoutes, generateRouteManifest, generateRouteTypes, matchRoute } from 'stx-router';
