UNPKG

@llml-browser/types

Version:

TypeScript types and schemas for the @llml-browser API

52 lines (48 loc) 3.01 kB
import { C as CheerioTypes, L as LinksRouterTypes } from './index-DMxeQCgZ.mjs'; export { b as LinksOptions, f as LinksPostErrorResponse, g as LinksPostResponse, e as LinksPostSuccessResponse, a as LinksTree, M as MetaFiles, h as ScrapedData, d as SkippedLinks, S as SkippedUrl, a as Tree, V as Visited, c as contentOptionsSchema, l as linksOptionsSchema, t as treeOptionsSchema } from './index-DMxeQCgZ.mjs'; import { H as HTMLCleaningTypes } from './index-B2efzHk-.mjs'; export { c as ElementPattern, E as ElementPatternSchema, e as HTMLCleaningMetrics, d as HTMLCleaningMetricsSchema, b as HTMLCleaningOptions, a as HTMLCleaningOptionsSchema, g as HTMLCleaningResult, f as HTMLCleaningResultSchema } from './index-B2efzHk-.mjs'; import { L as LinkServiceTypes } from './index-ChkdX0Va.mjs'; export { c as ExtractedLinks, E as ExtractedLinksSchema, b as LinkExtractionOptions, a as LinkExtractionOptionsSchema } from './index-ChkdX0Va.mjs'; import { M as MetadataTypes } from './index-CJbaIceM.mjs'; export { b as MetadataOptions, a as MetadataOptionsSchema, c as PageMetadata, P as PageMetadataSchema } from './index-CJbaIceM.mjs'; import { B as BrowseRouterTypes } from './index-B5yNh0Nn.mjs'; export { b as BrowseErrorResponse, f as BrowseOptions, e as BrowseOptionsSchema, j as BrowsePostErrorResponse, l as BrowsePostResponse, k as BrowsePostSuccessResponse, i as BrowseQueryResponse, h as BrowseQuerySucessJsonResponse, g as BrowseQuerySucessTextResponse, c as BrowseResponse, a as BrowseSuccessResponse, D as DataFormats, d as DataFormatsEnum } from './index-B5yNh0Nn.mjs'; export { ReadErrorResponse, ReadOptions, ReadPostResponse, ReadResponse, ReadResponseBase, ReadStringResponse, ReadSuccessResponse, readOptionsSchema } from './routers/read.mjs'; import 'zod'; /** * @llml-browser/types * * This is the root entry point for the types package. * For more specific types, consider importing directly from subpaths: * * @example * // Instead of: * import { LinkOptions } from '@llml-browser/types'; * * // Prefer: * import { LinkOptions } from '@llml-browser/types/routers/link'; * * // Or for service-specific types: * import { ScrapedData } from '@llml-browser/types/services/cheerio'; * import { HTMLCleaningOptions } from '@llml-browser/types/services/html-cleaning'; * import { LinkExtractionOptions } from '@llml-browser/types/services/link'; * import { PageMetadata } from '@llml-browser/types/services/metadata'; */ /** * Services namespace - provides access to all service types */ declare const Services: { Cheerio: typeof CheerioTypes; HTMLCleaning: typeof HTMLCleaningTypes; Link: typeof LinkServiceTypes; Metadata: typeof MetadataTypes; }; /** * Routers namespace - provides access to all router types */ declare const Routers: { Links: typeof LinksRouterTypes; Browse: typeof BrowseRouterTypes; }; export { BrowseRouterTypes, CheerioTypes, HTMLCleaningTypes, LinkServiceTypes, LinksRouterTypes, MetadataTypes, Routers, Services };