import type { RoadmapItem } from "convex-feedback"; import type { Href } from "expo-router"; import type { FeedbackRouteNames, RoadmapRouteNames } from "./types.js"; export declare const defaultFeedbackRoutes: FeedbackRouteNames; export declare function resolveFeedbackRoutes(routes?: Partial): FeedbackRouteNames; export declare function createFeedbackStackSettings(routes?: Partial): { anchor: string; }; export declare const feedbackStackSettings: { anchor: string; }; /** Anchor the create form to the feedback board. */ export declare const feedbackCreateStackSettings: { anchor: string; }; export declare function feedbackRouteHref(route: string, params?: Record): Href; /** Build the canonical href for an entry route whose file may be `index.tsx`. */ export declare function feedbackEntryRouteHref(route: string, params?: Record): Href; /** Build the edit child href from an entry-detail route. */ export declare function feedbackEditRouteHref(route: string): Href; /** Build a board href relative to an entry route at any configured depth. */ export declare function feedbackBoardRouteHref(entryRoute: string, boardRoute: string): Href; export declare const defaultRoadmapRoutes: RoadmapRouteNames; export declare function resolveRoadmapRoutes(routes?: Partial): RoadmapRouteNames; export declare function createRoadmapStackSettings(routes?: Partial): { anchor: string; }; export declare const roadmapStackSettings: { anchor: string; }; export declare function roadmapRouteHref(route: string, params?: Record): Href; /** Pass an already loaded item as optional optimistic detail-route state. */ export declare function roadmapRouteParams(item: RoadmapItem): { roadmapId: string; item: string; }; export declare function parseRoadmapRouteItem(value: string | string[] | undefined): RoadmapItem | undefined; /** * Resolves a routed item while allowing serialized route data to bridge the * query's loading state. Once the query resolves, including with `null`, its * result is authoritative. */ export declare function resolveRoadmapRouteItem(roadmapId: string | undefined, queriedItem: RoadmapItem | null | undefined, optimisticItem: RoadmapItem | undefined): RoadmapItem | null | undefined; //# sourceMappingURL=routes.d.ts.map