UNPKG

feedsmith

Version:

Robust and fast parser and generator for RSS, Atom, JSON Feed, and RDF feeds, with support for Podcast, iTunes, Dublin Core, and OPML files.

12 lines (11 loc) 573 B
import type { ParseFunction, Unreliable } from '../../common/types.js'; import type { Box, ItemOrFeed, Line, Point, Polygon } from './types.js'; export declare const parseLatLngPairs: (value: Unreliable, pairsCount?: { min?: number; max?: number; }) => Array<Point> | undefined; export declare const parsePoint: ParseFunction<Point>; export declare const parseLine: ParseFunction<Line>; export declare const parsePolygon: ParseFunction<Polygon>; export declare const parseBox: ParseFunction<Box>; export declare const retrieveItemOrFeed: ParseFunction<ItemOrFeed>;