import { Route as Route$1 } from "../types.js"; import { FilterDescriptor } from "@pastweb/tools"; //#region src/router/usePaths/usePaths.d.ts /** * Returns router paths filtered with the tools `filterRoutes` helper. * * @param filter - Optional filter descriptor. Omit it to return all paths. * * @returns Routes that match the filter. * * @example * ```tsx * const adminPaths = usePaths({ role: 'admin' }); * ``` */ declare const usePaths: (filter?: FilterDescriptor) => Route$1[]; //#endregion export { usePaths }; //# sourceMappingURL=usePaths.d.ts.map