import { AnyRouteRefParams } from './types'; /** * Absolute route reference. * * @remarks * * See {@link https://backstage.io/docs/plugins/composability#routing-system}. * * @public */ export interface RouteRef { readonly $$type: '@backstage/RouteRef'; readonly T: TParams; } /** * Create a {@link RouteRef} from a route descriptor. * * @param config - Description of the route reference to be created. * @public */ export declare function createRouteRef(config?: { /** A list of parameter names that the path that this route ref is bound to must contain */ readonly params: string extends TParamKeys ? (keyof TParams)[] : TParamKeys[]; }): RouteRef;