import { ControlledNavigationOptions, ControlledNavigationResult } from './types'; /** * Generic Controlled Navigation Platform Adapter * Works with any website that has a sitemap * * Features: * - Sitemap-based route discovery * - Cross-tab navigation control * - AI-powered DOM interaction * - Theme-agnostic element search * * @module @vowel.to/client/platforms/generic * * @example * ```ts * import { initializeControlledNavigation } from '@vowel.to/client/platforms/generic'; * import { Vowel } from '@vowel.to/client'; * * const { router, routes } = await initializeControlledNavigation({ * storeUrl: 'https://example.com' * }); * * const vowel = new Vowel({ * appId: 'your-app-id', * router, * routes * }); * ``` */ export { ControlledNavigationRouter } from './router'; export type { ControlledNavigationRouterOptions } from './router'; export { GenericRouteGenerator, GenericUrlCategorizer } from './routes'; export type { IUrlCategorizer } from './routes'; export { SitemapParser } from './sitemap'; export type { SitemapData, SitemapEntry, UrlEntry } from './sitemap'; export { initializeNavigationListener } from './navigation-listener'; export { initializeAutomationListener, autoInitializeAutomationListener } from './automation-listener'; export { FuzzyDOMSearcher } from './dom-search'; export type { LevenshteinSearchOptions, SearchResultElement, DOMSearchResults } from './dom-search'; export { DOMManipulator } from './dom-tools'; export { snapshotForAI, generateAriaTree } from './snapshot'; export type { AriaNode, AriaSnapshot, AriaTreeOptions } from './snapshot'; export type { ControlledNavigationOptions, ControlledNavigationResult, UrlCategory } from './types'; /** * Helper function to initialize a complete controlled navigation setup * Sets up router, discovers routes from sitemap * Fault-tolerant: always returns valid routes, falling back to basic routes if discovery fails * * @param options - Configuration options * @returns Initialized router and routes * * @example * ```ts * import { initializeControlledNavigation } from '@vowel.to/client/platforms/generic'; * import { Vowel } from '@vowel.to/client'; * * const { router, routes } = await initializeControlledNavigation({ * storeUrl: 'https://example.com' * }); * * const vowel = new Vowel({ * appId: 'your-app-id', * router, * routes * }); * ``` */ export declare function initializeControlledNavigation(options?: ControlledNavigationOptions): Promise; //# sourceMappingURL=index.d.ts.map