import { AnyRouteRefParams } from './types'; /** * Route descriptor, to be later bound to a concrete route by the app. Used to implement cross-plugin route references. * * @remarks * * See {@link https://backstage.io/docs/plugins/composability#routing-system}. * * @public */ export interface ExternalRouteRef { readonly $$type: '@backstage/ExternalRouteRef'; readonly T: TParams; } /** * Creates a route descriptor, to be later bound to a concrete route by the app. Used to implement cross-plugin route references. * * @remarks * * See {@link https://backstage.io/docs/plugins/composability#routing-system}. * * @param options - Description of the route reference to be created. * @public */ export declare function createExternalRouteRef(options?: { /** * The parameters that will be provided to the external route reference. */ readonly params?: string extends TParamKeys ? (keyof TParams)[] : TParamKeys[]; /** * The route (typically in another plugin) that this should map to by default. * * The string is expected to be on the standard `.` form, * for example `techdocs.docRoot`. */ defaultTarget?: string; }): ExternalRouteRef;