import { CreateRouteOptions, CreateRouteProps } from '../types/createRouteOptions'; import { RouteViews } from '../types/routeViews'; export declare const DEFAULT_VIEW_NAME = "default"; /** * Builds the initial views for a route, seeding components from the (deprecated) `component`/`components` * options and prop getters from the props argument. Subsequent views are added via the route's `addView`. * * This is where the props argument's two shapes — a single getter for the unnamed view, or a record keyed * by view name — are normalized, so the rest of the router only deals with views keyed by name. */ export declare function createRouteViews(options: CreateRouteOptions, props?: CreateRouteProps): RouteViews; /** * The names of the views that have a props getter. A view without one is never computed, so waiting on it * would never settle. */ export declare function viewNamesWithProps(views: RouteViews): string[];