Rocky_Mountain_Vending/.pnpm-store/v10/files/b0/a85940df99988aafd25be0abb272c5a5288229af4d1c7cdb05fd631dd1b43b0b3a591fe4454aa475fbfcddf1fdd31bfcba6390316313d6484d47934fc001ca
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

29 lines
959 B
Text

import type { SegmentNodeState } from '../userspace/app/segment-explorer-node';
/**
* Trie data structure for storing and searching paths
*
* This can be used to store app router paths and search for them efficiently.
* e.g.
*
* [trie root]
* ├── layout.js
* ├── page.js
* ├── blog
* ├── layout.js
* ├── page.js
* ├── [slug]
* ├── layout.js
* ├── page.js
**/
type TrieNode<Value = string> = {
value: Value | undefined;
children: {
[key: string]: TrieNode<Value> | undefined;
};
};
export type SegmentTrieNode = TrieNode<SegmentNodeState>;
export declare const insertSegmentNode: (value: SegmentNodeState) => void;
export declare const removeSegmentNode: (value: SegmentNodeState) => void;
export declare const getSegmentTrieRoot: () => TrieNode<SegmentNodeState>;
export declare function useSegmentTree(): SegmentTrieNode;
export {};